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

Module: Transport

Entity: tms.team

Compute Method: _compute_vehicle_count

Inputs Method Outputs
for team in self:
            team.vehicle_count = len(team.vehicle_ids)

Back to entity