Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6760 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
7
led 20
31441
0
bře 15
4283
1
říj 21
2700
0
bře 15
3587
0
úno 19
5427