Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2099 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
4378
0
jul 25
1657
0
ago 24
2465
2
may 25
2727
0
sept 25
2179