Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
7143 Prikazi

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.

Avatar
Opusti
Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
7
jan. 20
31928
0
mar. 15
4659
1
okt. 21
2988
0
mar. 15
3870
0
feb. 19
5870