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

Hello, 

Look at this plan:

M - manager

O1 - official

O2 - official

E1 - employee of O1

E2 - employee of O1

E3 - employee of O2

E4 - employee of O2

E1 and E2 made a timesheets to approve. And ONLY O1 and M can validate this timesheets. (O2 and they can't validate it by yourself).

E3 and E4 made a timesheets to approve. And ONLY O2 and M can validate this timesheets. (O1 and they can't validate it by yourself).

O1 and O2 made a timesheets to approve. And ONLY M can validate this timesheets. (They can't validate by yourself).

M made a timesheet to approve. And he can validate this own timesheets, leave's. 

How can I do this hierarchy? I found in Settings -> Users -> user_1 option to set (none, employee, official, manager). But now official can validate own timesheets and leave's.

I want offical couldn't validate own timesheet and Leave(vacation, holidays). Only CEO can approve it for them and for yourself.


I enter the below line in "Domain value" field

[('employee_id.parent_id.user_id','=',uid)]

and it's helped for first stage. But still official can approve own timesheets and leave's.

Any suggestions?

アバター
破棄
著作者

EDIT:

I don't know why but my Manager can't approve timesheets official - why? Some "no permission"????

関連投稿 返信 ビュー 活動
0
3月 15
3187
2
7月 16
3989
1
9月 20
4548
0
6月 16
3850
1
3月 15
7072