Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2897 Visualizzazioni

/ addons/web/static/SRC/legacy/js/views/abstract_controller. js     521 lines

this.do_action({
type: 'ir.actions.act_window',
res_model: 'model.name',
views: [[false, 'list'], [false, 'form']],
target: 'current', // TODO: make customisable?
name: name,
});

 how to make customisable about target??

Avatar
Abbandona
Risposta migliore

Hi

I was also searching about this issue, but I only found these items:

Target: Options are,
* current : It opens the main content area.
* new: It will open a window like a dialog/popup.
* fullscreen: It will open a window in fullscreen mode.
* main: It will open the main content area without breadcrumbs.

I hope this helps

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 25
231
1
ago 25
675
0
ago 25
409
0
lug 25
1600
0
lug 25
3