Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
652 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
февр. 25
37
1
февр. 25
716
2
дек. 24
873
0
дек. 24
552
0
дек. 24
824