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

I have tried following thing for Employee group:

[('user_id','=',user.id)]

But the problem is I couldn't submit the timesheet 

Odoo Access Error: Document :hr.employee type:read

I tried the following rule:

[('id', 'child_of', [employee.id for employee in user.employee_ids])]

to the Employee group. It works and I could submit the timesheet, but employee's manager records are visible in hierarchy which should be avoided.Please help me with the answer ! I am using Odoo 10

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 25
1383
1
أغسطس 25
3563
1
مارس 25
1417
0
أغسطس 25
1402
1
أكتوبر 24
2579