跳至内容
菜单
此问题已终结
1 回复
789 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
5月 23
830
0
8月 24
990
2
5月 25
742
0
5月 25
307
2
4月 25
1217