Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
749 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
พ.ค. 25
1014
2
พ.ค. 25
4050
Login Page customization แก้ไขแล้ว
2
เม.ย. 25
3431
1
มี.ค. 25
494
4
มี.ค. 25
3158