Skip to Content
Menu
This question has been flagged
1690 Views

Hi Team,

I have been struggling to accomplish the following task.

1. Created a Manager (M1 - Officer / Manager Permission) and assigned an Employee (E1- Employee Permission) to him.

2. Created a Rule ([('id', 'child_of', [employee.id for employee in user.employee_ids])]) to view Both the Employee and Manager alone (Other employees should not be seen). I am able to see the same in the Employee Kanban View. But when I click the Employee or Manager, It's throwing Access error "The requested operation cannot be completed due to security restrictions. Please contact your system administrator.


(Document type: hr.employee, Operation: read)"

3. Have modified the Access Control Lists, also tried switching to Global Rule. Nothing worked out. 
Any Idea if someone face the same issue and got it resolved. Thanks in advance.

Avatar
Discard