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

Hello, i am working on a module that creates a set of menus and actions based on options set by the user. I used an ORM method, create, to add a new entry in the ir.ui.menu model with the data. Is working correctly so far, i can see the new entry in both OpenERP menus settings entry and in the database, but i still can't see the menu in the top bar position that is configured.

I make sure to put it a parent menu, and has a Full Path value assigned. I am currently testing it with the admin user. I compared it with another menu created via xml and there seems to be no difference. Any ideas as why this?

Thanks in advance.

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

I found the solution and am leaving the response here just in case that someone else bumps into this problem.

If the menu doesn't have an action assigned or a submenu assigned it won't show in the view even if already is created in the records.

Ảnh đại diện
Huỷ bỏ

Thanks for share!

Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 8 23
41932
0
thg 10 22
5129
4
thg 5 22
7311
2
thg 3 15
4429
0
thg 11 24
1056