Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Attendances
Entity: hr.attendance
Compute Method: _compute_overtime_status
| Inputs | Method | Outputs |
|---|---|---|
|
- for attendance in self: - if not attendance.overtime_status: - attendance.overtime_status = "to_approve" if attendance.employee_id.company_id.attendance_overtime_validation == 'by_manager' else "approved" |
|
