Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
654 Visualizzazioni

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?


Avatar
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
feb 25
37
1
feb 25
716
2
dic 24
873
0
dic 24
552
0
dic 24
824