Skip to Content
Menu
This question has been flagged
2689 Views

Hi All, I am a Odoo newbie.

I have used the following rule: ['|',('employee_id.user_id','=',user.id),('employee_id.parent_id.user_id','=',user.id)] to only allow employees to view their leave applications and have only managers see the subordinates leave applications. However, while applying this rule  to everyone (Globally), I would like to still have HR Managers (those given Manager roles i believe its base.group_hr_manager in the module) to be able to see every ones leave request ?


Thank you in advance

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 23
1300
1
Sep 19
2199
0
Jun 24
444
2
May 24
537
2
Jan 24
1181