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

I'm trying to create a rule so that a particular group could only see leaves (requests and summary) from people under their own department.

The syntax in creating a Rule Definition (Domain Filter) is [('field name','operator','value')] am I right? Which fields can I use? I want to be able to get the logged-in user's department then use that value to control which leaves would show.

아바타
취소
베스트 답변

you can use this in Rule Definition inside Group : [('department_id','=',user.context_department_id.id)]

아바타
취소
관련 게시물 답글 화면 활동
7
1월 20
31396
0
3월 15
4263
1
10월 21
2681
0
3월 15
3556
0
2월 19
5410