Odoo Help


How to inherit the qweb headers menu within new module?

on 2/10/15, 7:13 AM 1,064 views


I was trying to inherit main website layout menu (header navigation bar). Is there is any way to within new module to add new menu items? instead of doing it from the front end?

Any example and help would be appreciate



Nhomar Hernandez
On 7/6/15, 10:53 PM


You just need to create a record which create a website.menu record in your new module with parent_id=ref('website.main_menu') as record.

The xml record example is this:


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

1 follower(s)


Asked: 2/10/15, 7:13 AM
Seen: 1064 times
Last updated: 10/23/15, 9:18 AM