İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6619 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
7
Oca 20
31270
0
Mar 15
4181
1
Eki 21
2632
0
Mar 15
3473
0
Şub 19
5306