تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1909 أدوات العرض

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
مايو 23
3913
0
يوليو 25
1441
0
أغسطس 24
2297
2
مايو 25
2534
0
سبتمبر 25
2011