跳至內容
選單
此問題已被標幟
1 回覆
6571 瀏覽次數

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
2619
0
3月 15
3461
0
2月 19
5276