Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Employees Shifts

Entity: hr.shift.planning

Compute Method: _compute_shifts_count

View 18.0
Inputs Method Outputs
  • shift_ids
- for plan in self:
-             plan.shifts_count = len(plan.shift_ids)
  • shifts_count

Back to entity