Add a Menu Item to Any Model’s Navigation in Odoo

Adding a menu item to the navigation in Odoo is an easy way to improve the usability of your application. In this tutorial, we will show you how to add a custom menu item to the Quotation section or any other sections’ navigations.

This will benefit you when you want to extend the functionality of the built-in models with custom code.

Add Menu Item to Quotation

This will add Download Sales menu item to Sales > Orders.

<record id="act_download_sale" model="ir.actions.act_window">
    <field name="name">Download Sales</field>
    <field name="res_model"></field>
    <field name="view_mode">form</field>
    <field name="view_id" ref="download_sale_form_view"/>
    <field name="target">new</field>

<menuitem id="menu_sale_export" parent="sale.sale_order_menu" name="Download Sales" sequence="0" action="act_download_sale"/>

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.