Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
596 Vues

I need the manager of an employee (not an admin) to see their employee pipeline

Avatar
Ignorer
Meilleure réponse

You would require to modify the record rules for it. When you mean manager do you refer to employee's manger as defined in Employees App or do you refer to team leader defined on the sales team?

The below is for employee's manager in Employee (HR) App

['|','|',('user_id','=',user.id),('user_id.employee_ids.parent_id.user_id', '=', user.id),('user_id','=',False)]


Avatar
Ignorer