I have many managers in the same department and i want that every manager see and approve the requests of his own employees only. How can i resolve this problem ? Any idea please ?
i found the solution i add a record rule with the domain filter
[ '|',('employee_id.user_id','=',user.id),('employee_id.parent_id.user_id','=',user.id)]
and it works