Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: HR Attendance Holidays

Entity: hr.leave.allocation

Compute Method: _compute_employee_overtime

View 19.0
Inputs Method Outputs
  • employee_id
- diff_by_employee = self.employee_id._get_deductible_employee_overtime()
- for allocation in self:
-             allocation.employee_overtime = diff_by_employee.get(allocation.employee_id, 0)
  • employee_overtime

Back to entity