跳至内容
菜单
此问题已终结
2 回复
1169 查看

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
5月 25
2484
2
5月 25
5832
2
4月 25
4536
1
3月 25
1661
4
3月 25
4448