Skip to Content
Menu
This question has been flagged
1 Reply
3597 Views

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 

Avatar
Discard
Best Answer

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. 

Avatar
Discard