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

Module: Purchase

Entity: purchase.order

Compute Method: _compute_incoterm_location

View 20.0
Inputs Method Outputs
  • partner_id
  • partner_id.purchase_incoterm_location
+ for po in self:
+             partner_incoterm_location = po.partner_id.purchase_incoterm_location
+             if partner_incoterm_location:
+                 po.incoterm_location = partner_incoterm_location
  • incoterm_location

Back to entity