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

Module: Sale Elaboration

Entity: sale.order.line

Compute Method: _compute_route_id

View 17.0 View 18.0
Inputs Method Outputs
for line in self:
-             route_id = line.get_elaboration_stock_route()
-             if route_id:
-                 line.route_id = route_id
+             line.route_id = line.get_elaboration_stock_route()
  • route_id

Back to entity