Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
7185 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
7
Jan 20
31971
0
Mar 15
4717
1
Okt 21
3001
0
Mar 15
3920
0
Feb 19
5935