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_overtime_deductible

Inputs Method Outputs
  • holiday_status_id
  • holiday_status_id.overtime_deductible
for allocation in self:
            allocation.overtime_deductible = allocation.holiday_status_id.overtime_deductible

Back to entity