跳至內容
選單
此問題已被標幟
3060 瀏覽次數

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
1388
1
8月 25
3567
1
3月 25
1418
0
8月 25
1411
1
10月 24
2669