Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1449 Vistas

I want to give a manager (not an admin) to see the employees that work for him pipeline

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 23
2515
0
jul 25
1028
0
ago 24
1878
2
may 25
1916
0
may 25
1625