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

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
3180
2
7月 16
3967
1
9月 20
4473
0
6月 16
3822
1
3月 15
7036