Odoo Help


Create menu from Python?

Carlos Llamacho
on 9/17/13, 12:14 PM 2,390 views

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.

Carlos Llamacho
On 9/17/13, 5:18 PM

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!

OpenERP Vietnam
on 9/18/13, 2:46 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 9/17/13, 12:14 PM
Seen: 2390 times
Last updated: 3/16/15, 8:10 AM