Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I try to hide a button with this:
<record id="hr_timesheet_sheet_form_inv_1" model="ir.ui.view">
<field name="inherit_id" ref="hr_timesheet_sheet.hr_timesheet_sheet_form"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='647']" position="attributes">
my problem is, that I have to give it the actionnumber.
How can I make this dynamic, so I don't need the actionnumber. When I use this module in a other odoo installation they have an other number there and so the module doesn't know what button to hide. [@name='647']
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/12/16, 4:26 AM|
|Seen: 446 times|
|Last updated: 7/13/16, 7:28 AM|