تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
891 أدوات العرض

Hi all, 

I inherited maintenance module and the xml view file. In the view file, I created a new own form view and action.

I then added a sub-menu to call the form view. The problem is that sub-menu did not show up in UI.

How can I create a new sub menu that call the new action in an inherited module? Thank you for advice. Below are codes.




                           

                                       


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thanks. 

I found out that I forgot to uncomment 'security' in '__manifest__' file.  My careless mistake.  Now it is working as expected

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Please refer to this blog for how to create menu and sub menu.

https://www.cybrosys.com/blog/menu-submenu-and-action-in-odoo


Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
4
مايو 25
1333
2
مايو 25
4663
2
أبريل 25
3715
1
مارس 25
819
4
مارس 25
3517