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

Module: Sales

Entity: sale.order.template.option

Compute Method: _compute_uom_id

View 18.0
Inputs Method Outputs
  • product_id
  • product_id.uom_id
- for option in self:
-             option.uom_id = option.product_id.uom_id
  • uom_id

Back to entity