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

Compute Method: _compute_can_validate

View 20.0
Inputs Method Outputs
+ for allocation in self:
+             allocation.can_validate = allocation._check_approval_update('validate', raise_if_not_possible=False)
  • can_validate

Back to entity