Skip to Content
मेन्यू
This question has been flagged
1 Reply
6772 Views

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
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
7
जन॰ 20
31453
0
मार्च 15
4289
1
अक्तू॰ 21
2704
0
मार्च 15
3591
0
फ़र॰ 19
5436