Odoo Help


This community 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.


How to inherit the qweb headers menu within new module?

on 2/10/15, 7:13 AM 885 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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