Skip to main content

Open an External URL from Menu Item in Odoo

Odoo is a comprehensive suite of business applications that covers everything from accounting to HR to manufacturing. Its menu item system reflects the ORM way of handling things. So most of the time Odoo’s main menu opens a list of a model’s object.

But what if you need to reference information from an external website while working in Odoo? This can be easily done by opening the external URL from a menu item. In this article, we’ll show you how easy it is to do this in Odoo.

You just need to add these menu items to the respective views

<record model="ir.actions.act_url" id="act_open_tleapps">
    <field name="name">Tle Apps</field>
    <field name="url">http://www.tleapps.com</field>
    <field name="target">new</field>
</record>

<menuitem name="Tle Apps" id="menu_reports" parent="menu_root" action="act_open_tleapps"/>

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