Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4 Antworten
2447 Ansichten

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
Verwerfen

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

Beste Antwort

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
Verwerfen
Beste Antwort

Go with odoo groups and readonly , invisible condition

Avatar
Verwerfen
Autor

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