Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6562 Vues

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
7
janv. 20
31239
0
mars 15
4095
1
oct. 21
2615
0
mars 15
3458
0
févr. 19
5272