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.level

Compute Method: _compute_carryover_options

Inputs Method Outputs
for level in self:
            if level.action_with_unused_accruals == 'lost':
                level.carryover_options = 'unlimited'

Back to entity