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

Inputs Method Outputs
for plan in self:
            plan.shifts_count = len(plan.shift_ids)

Back to entity