跳至内容
菜单
此问题已终结
3038 查看

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
6月 25
1349
1
8月 25
3534
1
3月 25
1390
0
8月 25
1376
1
10月 24
2114