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

View 19.0
Inputs Method Outputs
  • parent_id
  • parent_id.complete_direction
  • direction
+ 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
  • complete_direction

Back to entity