Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1904 Представления

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

Аватар
Отменить
Лучший ответ

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)]

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мая 23
3898
0
июл. 25
1433
0
авг. 24
2289
2
мая 25
2526
0
сент. 25
2000