Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use ir.actions.client code in OpenERP/Odoo ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.94k
    Comment on it

    On the server side, we can simply defined an ir.actions.client. In below code we will use .xml file.

    <record id="action_home_page" model="ir.actions.client">
        <field name="tag">petstore.homepage</field>
    </record>
    For menu opening the action:
    <menuitem id="home_page_petstore_menu" parent="petstore_menu" name="Home Page" action="action_home_page"></menuitem>
    

    Note- a client action handler can also be a regular function, in which case it will be called and its result will be interpreted as the next action to execute.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: