コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2904 ビュー

/ 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??

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
8月 25
126
1
8月 25
284
1
8月 25
683
0
8月 25
419
0
7月 25
1680