Community mailing list archives


Domain Filter for Attendance

Khaled Hamed, Khaled Hamed
- 19 سبتمبر, 2016 06:47:41
Dear Community,

I'm trying to restrict Attendance List to be for Department Manager and Employee's Manger on action domain value:

It works perfect for Department Manager rule:

['|', ('employee_id.user_id', '=', uid), ('employee_id.department_id.manager_id.user_id', '=', uid)]

When adding employee's manager rule nothing appear:

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

Please advise.

Best regards...

Khaled Hamed Mostafa