Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1161 Lượt xem

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.




                           

                                       


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thanks. 

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 25
2482
2
thg 5 25
5820
2
thg 4 25
4534
1
thg 3 25
1653
4
thg 3 25
4444