Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5561 Lượt xem
Hello Guys,
I want to get odoo ControlPanel in my custom widget with the same functionality for a specific model.How can I achieve this one?
How to instantiate it and attach it to my custom widgets DOM node.

Any help will be appreciated, or tell me what kind of things to do how to get controlpanel (self rendered widget of odoo) in my custom widget.
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Refer for the function "update_control_panel".  it is used with most of the widgets in Odoo. It can be used to update the control panel elements such as breadcrumbs, buttons, etc. If you also mean the same, it will be helpful.



Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Anywhere you do these type of things?

Tác giả

or help me more on this.

Tác giả

Hey @Cybrosys, please help me in the implementation of this one.

Also see the attached image in answer

Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 5 24
51914
1
thg 2 23
697
0
thg 2 23
724
2
thg 9 25
19336
1
thg 7 19
4035