Skip to Content
मेन्यू
This question has been flagged
962 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
जुल॰ 25
2228
1
जून 25
2879
2
मई 25
2190
1
मई 25
1359
1
फ़र॰ 25
38