Ir al contenido
Menú
Se marcó esta pregunta
3040 Vistas

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 25
1350
1
ago 25
3535
1
mar 25
1391
0
ago 25
1376
1
oct 24
2124