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

Module: Field Service

Entity: fsm.location

Compute Method: _compute_complete_direction

Inputs Method Outputs
for rec in self:
            parent_direction = rec.parent_id.complete_direction
            complete_direction = (parent_direction or "") + (rec.direction or "")
            rec.complete_direction = complete_direction or False

Back to entity