Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to create more Action in OpenERP(Odoo)

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 368
    Comment on it

    Actions are used to trigger one or more actions to be performed on the server side, when a specific stage of a workflow is reached. To write this code in .xml file in openerp(odoo), use the Code given below.

    1. <record id="company_normal_action_tree" model="ir.actions.act_window">
    2. <field name="name">Companies</field>
    3. <field name="type">ir.actions.act_window</field>
    4. <field name="res_model">res.company</field>
    5. <field name="view_type">form</field>
    6. <field name="view_mode">tree,form</field>
    7. <field name="domain">[('id','=',active_id)]</field>
    8. </record>

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Reset Password
Fill out the form below and reset your password: