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

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.

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

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.

الصورة الرمزية
إهمال

Thanks for share!

المنشورات ذات الصلة الردود أدوات العرض النشاط
5
أغسطس 23
40889
0
أكتوبر 22
4424
4
مايو 22
6930
2
مارس 15
4042
0
نوفمبر 24
658