Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
964 Prikazi

Hello,

I have set up record rules in Odoo 17 where employees should only see themselves, and department managers should only see employees under their department and create groups.

For employees, the domain is [('user_id', '=', user.id)].

For department managers, the domain is [('department_id.manager_id.user_id', '=', user.id)].

However, employees are still able to see all employees.




Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jul. 25
2228
1
jun. 25
2884
2
maj 25
2191
1
maj 25
1359
1
feb. 25
38