コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3079 ビュー

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
1422
1
8月 25
3624
1
3月 25
1448
0
8月 25
1428
1
10月 24
3023