Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2956 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 25
135
1
thg 8 25
245
3
thg 8 25
248
1
thg 8 25
440
1
thg 8 25
488