跳至内容
菜单
此问题已终结
1 回复
6569 查看

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.

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
7
1月 20
31242
0
3月 15
4099
1
10月 21
2618
0
3月 15
3461
0
2月 19
5276