Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
942 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Jul 25
2153
1
Jun 25
2669
2
Mei 25
2139
1
Mei 25
1329
1
Feb 25
38