Skip to Content
Menu
This question has been flagged
912 Views

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
Discard
Related Posts Replies Views Activity
3
Jul 25
2064
1
Jun 25
2453
2
May 25
2026
1
May 25
1232
1
Feb 25
38