14 User: Read his own attendances The user will have access to his own attendances on his user / employee profile Officer: Manage attendances The user will have access to the attendance records and reporting of employees where he's set as an attendance manager Administrator Employee multi company rule ['|',('employee_id.company_id','=',False),('employee_id.company_id', 'in', company_ids)] Attendance Administrator: Full access [(1,'=',1)] Attendance Officer: Restrict Attendances to managed employees [ '|', '&', ('employee_id.attendance_manager_id', '=', user.id), ('employee_id.user_id', '=', user.id), '&', ('employee_id.user_id', '!=', user.id), ('employee_id.attendance_manager_id', '=', user.id) ] Attendance base user: Read his own attendances in other apps [('employee_id.user_id', '=', user.id)] Employee multi company rule ['|',('employee_id.company_id','=',False),('employee_id.company_id', 'in', company_ids)] Attendance Officer: Restrict Overtime to managed employees [ '|', '&', ('employee_id.attendance_manager_id', '=', user.id), ('employee_id.user_id', '=', user.id), '&', ('employee_id.user_id', '!=', user.id), ('employee_id.attendance_manager_id', '=', user.id) ] Attendance Admin: full access [(1,'=',1)] Attendance base user: Read his own overtime [('employee_id.user_id', '=', user.id)]