Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5441 Weergaven

Hello,

I'm trying to modify the access control list of Leave Requests to approve under  Leave managements module.

I need to make the Leave Requests to approve menu only accessed by each employee's manager.

ea. if the company has 10 employees under Sales/marketing and 5 employees under IT department. I need the sales manager access his 10 employees' leave requests only and not able to access the rest of company's employees who are not under his authority.
To do it, I modified the record rule domain definition of Leaves officer from [(1,'=',1)] to [('employee_id.parent_id,'=',user.id)]
but it didn't work. How to fix it?

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
aug. 22
6774
0
nov. 17
6587
4
sep. 17
25394
1
jan. 16
4510
1
mrt. 15
7969