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_accrual_validity

Inputs Method Outputs
for level in self:
            if level.action_with_unused_accruals == 'lost':
                level.accrual_validity = False

Back to entity