Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4209 มุมมอง

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"????

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3223
2
ก.ค. 16
4016
1
ก.ย. 20
4592
0
มิ.ย. 16
3894
1
มี.ค. 15
7126