Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6779 Weergaven

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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
7
jan. 20
31457
0
mrt. 15
4295
1
okt. 21
2716
0
mrt. 15
3597
0
feb. 19
5441