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

Hello,

I want to create record rule, that user assigned with that rule, can only view Own timesheets and department. It looks like:

Model: Analytic Line

Domain rule: [
('employee_id.department_id', '=',
user.employee_id.department_id.id)

]
I can see all user data in list view from department, but if I want to add new entry in time-sheets, many2one field employee_id field only show current user. 


What rules or access rights I need to be able to access users from department?


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

any idea, how this can be solved? Any help would be appreciated

아바타
취소
관련 게시물 답글 화면 활동
1
2월 25
37
1
2월 25
716
2
12월 24
873
0
12월 24
552
0
12월 24
824