コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6625 ビュー

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
31277
0
3月 15
4193
1
10月 21
2634
0
3月 15
3480
0
2月 19
5311