Ir al contenido
Menú
Se marcó esta pregunta
917 Vistas

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
Publicaciones relacionadas Respuestas Vistas Actividad
3
jul 25
2103
1
jun 25
2512
2
may 25
2061
1
may 25
1270
1
feb 25
38