I want to hide my fields from specific user "base.group_portal".How can I do this with xpath?Just "base.group_portal" cannot see fields
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
This question has been flagged
1
Reply
3597
Views
Here is an example:
<xpath expr="/FIELD_PATH[@name='NAME_OF_THE_FIELD']" position="attributes">
<attribute name="groups">base.group_portal</attribute>
</xpath>.
You will get lots of results of xpath in odoo source code.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up