Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2623 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
6271
0
jul 25
2364
0
ago 24
3117
2
may 25
3425
0
sept 25
2841