콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
2545 화면

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.)

아바타
취소

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

베스트 답변

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


아바타
취소
베스트 답변

Go with odoo groups and readonly , invisible condition

아바타
취소
작성자

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