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

I need help to understand how I can hide the contacts of a certain nation to a group of employees, I tried to put a record rule but the situation does not change.

This is the domain filter of the Record rule: [('country_id','=','233')]  
It has as object "res.partner" and the group name (the rule isn't global) is the one of the group of users that can access only to the contacts with country_id:233.

The problem is that when i log in with a user inside that group I still see all the contacts and not only the ones with country_id = 233

아바타
취소
베스트 답변

https://github.com/odoo/odoo/blob/11.0/odoo/addons/base/res/res_partner.py#L195

I think:

    [('country_id.id','=','233')]

아바타
취소
관련 게시물 답글 화면 활동
3
12월 21
7906
0
8월 24
842
2
10월 22
11957
3
6월 20
3536
0
12월 16
3578