Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6586 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
7
sty 20
31245
0
mar 15
4117
1
paź 21
2620
0
mar 15
3466
0
lut 19
5280