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

Module: Repairs

Entity: repair.order

Compute Method: _compute_location_id

View 17.0 View 19.0
Inputs Method Outputs
  • picking_type_id
  • picking_type_id.default_location_src_id
for repair in self:
            repair.location_id = repair.picking_type_id.default_location_src_id
  • location_id

Back to entity