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

Hello folks,


I want to prevent a specific internal user from seing other people’s agenda.

Can’t find out how to do this.


Any idea ?

아바타
취소
작성자 베스트 답변

Hi,

thanks. In the video it requires to change the .pyc files, which is not suitable for the Odoo 14 entreprise version.

However I managed to do it this way :

- created a record rule
- model = calendar.event
- domain = ['|', ['partner_ids.child_ids', 'in', [user.partner_id.id]], ['partner_ids', 'in', [user.partner_id.id]]]

It works.

Thanks

아바타
취소
베스트 답변

Hi,

For this you can set a record rule for corresponding model. To know more about record rules, see: Odoo Record Rules

Thanks

아바타
취소
관련 게시물 답글 화면 활동
1
2월 24
5169
0
3월 24
1907
2
12월 23
3610
1
5월 23
6146
0
8월 21
2781