How to open a new url from odoo


<?xml version="1.0" encoding="utf-8" ?>
<openerp>
    <data>
        <record id="open_orgchart_action" model="ir.actions.act_url">
            <field name="name">organization chart</field>
            <field name="type">ir.actions.act_url</field>
            <field name="target">self</field>
            <field name="url">/new url/</field>
        </record>


        <!--My OrgChart Menu-->
        <menuitem
            id="menu_board_my_dash"
            name = "Orgchart"
            parent="base.menu_reporting_dashboard"
            action="open_orgchart_action"
            sequence="5"/>
    </data>
</openerp>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s