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

Module: Purchase Container

Entity: purchase.container

Compute Method: _compute_displayed_incoterm_id

View 18.0
Inputs Method Outputs
  • manual_incoterm_id
  • incoterm_id
+ for record in self:
+             record.displayed_incoterm_id = (
+                 record.manual_incoterm_id
+                 if record.manual_incoterm_id
+                 else record.incoterm_id
+             )
  • displayed_incoterm_id

Back to entity