Can someone please tell me, how to change menu and action names from a custom module
Kind Regards,
Narender
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Can someone please tell me, how to change menu and action names from a custom module
Kind Regards,
Narender
For MENU, we use object="ir.ui.menu"
<record id="MODULENAME.external_id" model="ir.ui.menu">
<field name="name">CHANGE NAME HERE</field>
</record>
For WINDOW ACTION, we use object="ir.actions.act_window"
<record id="MODULENAME.external_id" model="ir.actions.act_window">
<field name="name">CHANGE NAME HERE</field>
</record>
This can be applied for all the models and you can set the field value with
<field name="FIELD AVAILABLE @ model">CHANGE VALUE</field>
did you add your view.xml file in __openerp__.py? If your view is not loaded, then menu or action won't be changed automatically
for action:
<record id="sale.action_sale_order_make_invoice" model="ir.actions.act_window">
<field name="name">Modified Name</field
</record
for menu:
<menuitem parent=”base.menu_sales” name=”Leads”
id=”crm.menu_crm_case_categ0_act_leads” action=”crm.crm_case_category_act_leads_all” sequence=”1″ />
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Thanks for your answer atchuthan. I have tried that before, but unfortunately the changes are not getting reflected on odoo