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.
The Question has been closed for reason: duplicate questionby
Can we hide create/edit button of form view using attrs?
Yes you can!
You can remove the Create Button by adding attributes to your form in view.xml file:
<record ...> ... <form string="NAMEOFFORM" create="false" edit="false" version="7.0"> ... </form> </record>
This way "Edit" and "Create" are removed from view for all Users.
In case you inherit from an existing view:
<record> ... <field name="arch" type="xml"> <xpath expr='//form[@string="Product"]' position='attributes'> <attribute name="create">false</attribute> </xpath> </field> , </record>
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: 5/13/13, 10:40 AM|
|Seen: 26594 times|
|Last updated: 8/29/17, 8:58 AM|