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

Module: Time Off

Entity: hr.leave.accrual.plan

Compute Method: _compute_carryover_day_display

Inputs Method Outputs
days_select = _get_selection_days(self)
for plan in self:
            plan.carryover_day_display = days_select[min(plan.carryover_day - 1, 28)][0]

Back to entity