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_milestone_date

View 19.0
Inputs Method Outputs
  • start_count
+ for level in self:
+             if level.start_count == 0:
+                 level.milestone_date = 'creation'
  • milestone_date

Back to entity