Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Odoo Actions and Menus

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 151
    Comment on it

    Action- There are different types of actions in Odoo: 
    1- Window: Opening of a new window 
    2- Report: The printing of a report  
    3- Custom Report: The personalized reports or RML Report: The XSL:RML reports 
    4- Execute: execution of a method on the server side 
    5- Group: Gather some actions in one group 

    In your .xml file use these code to show the action in your form in Odoo - 

    1. <!-- Your Action Window Definition -->
    2.  
    3. <record id="action_123" model="ir.actions.act_window">
    4. <field name="name">Your Module Name</field>
    5. <field name="res_model">your.object</field>
    6. <field name="view_type">form</field>
    7. <field name="view_mode">list,form</field>
    8. </record>

    Menus- In your .xml file use these code to shows the menus in your form in Odoo

    1. <!-- Action Menu Item Related To Above Action Window -->
    2.  
    3. <menuitem action="action_123" id="action_menu_123" parent="write_the_parent_menu_id" name="Readable Text" sequence="1"></menuitem>

 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: