Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6595 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
31250
0
Mar 15
4128
1
Okt 21
2625
0
Mar 15
3468
0
Feb 19
5286