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_maximum_leave

Inputs Method Outputs
for level in self:
            level.maximum_leave = 100 if level.cap_accrued_time else 0

Back to entity