Skip to Content
Menú
This question has been flagged
1 Respondre
6573 Vistes

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
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
7
de gen. 20
31242
0
de març 15
4100
1
d’oct. 21
2620
0
de març 15
3461
0
de febr. 19
5277