Skip to Content
Menú
This question has been flagged
915 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
3
de jul. 25
2067
1
de juny 25
2471
2
de maig 25
2029
1
de maig 25
1238
1
de febr. 25
38