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_linked_overtime_ids
| Inputs | Method | Outputs |
|---|---|---|
|
- overtimes_by_attendance = self._linked_overtimes().grouped(lambda ot: (ot.employee_id, ot.time_start)) - for attendance in self: - attendance.linked_overtime_ids = overtimes_by_attendance.get((attendance.employee_id, attendance.check_in), False) |
|
