跳至内容
菜单
此问题已终结
1 回复
5555 查看
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.
形象
丢弃
最佳答案

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

形象
丢弃
编写者

Anywhere you do these type of things?

编写者

or help me more on this.

编写者

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

Also see the attached image in answer

相关帖文 回复 查看 活动
6
5月 24
51912
1
2月 23
697
0
2月 23
724
2
9月 25
19333
1
7月 19
4034