تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5587 أدوات العرض
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
مايو 24
51930
1
فبراير 23
697
0
فبراير 23
724
2
سبتمبر 25
19344
1
يوليو 19
4035