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

Hello,

I want to create record rule, that user assigned with that rule, can only view Own timesheets and department. It looks like:

Model: Analytic Line

Domain rule: [
('employee_id.department_id', '=',
user.employee_id.department_id.id)

]
I can see all user data in list view from department, but if I want to add new entry in time-sheets, many2one field employee_id field only show current user. 


What rules or access rights I need to be able to access users from department?


頭像
捨棄
作者 最佳答案

any idea, how this can be solved? Any help would be appreciated

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 25
37
1
2月 25
734
2
12月 24
902
0
12月 24
562
0
12月 24
840