Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7176 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
7
ian. 20
31968
0
mar. 15
4715
1
oct. 21
3001
0
mar. 15
3918
0
feb. 19
5934