Skip to Content
Menu
This question has been flagged
4 Replies
2281 Views

Hi,

please suggest me how can implement  the filed level security in odoo

( When we want to invisible a field conditionally in same group, we using domains to “attrs”. Using browser inspect element feature we can simply remove “oe_invisible” css class and remove the invisible logic.)

Avatar
Discard

You will get some help from here : https://www.odoo.com/forum/help-1/question/permission-for-a-group-to-edit-a-single-field-only-8508

Best Answer

I had same problem, There were discussion about computed field.

"you can set a groups that nobody have on your field.

An after, you add a new computed field which return the value according your own conditions."

and

_inverse_function and check your security condition.


and another discussion about this,

https://www.odoo.com/es_ES/groups/community-59/community-16574796


Avatar
Discard
Best Answer

Go with odoo groups and readonly , invisible condition

Avatar
Discard
Author

Hi dep, I Implement like previously in xml ,but the issue is using Xml_rpc or Using browser inspect element feature we can simply remove “oe_invisible” css class it's can see the user so i need to implement through python code only for security purpose