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

Would it be possible to limit visibility of fields based on condition and group? For example, when a selection field is set to a value, a field becomes hidden to some users but still visible to others. I tried changing the xml to include the attrs and groups but that did not work.

Avatar
Discard
Best Answer

Hi,

This can be easily achieved in odoo by creating an inherited view and settings user group for the inherited record. Once you set the group for an inherited record, all the changes done inside the inherited record will only be applied to the specified user group.


You can see this explanation and use case here:  Apply Changes In A View For Particular User Groups In Odoo


Thanks

Avatar
Discard