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

Module: Purchase Agreements

Entity: purchase.requisition.line

Compute Method: _compute_product_uom_id

View 19.0
Inputs Method Outputs
  • product_id
  • product_id.uom_id
- for line in self:
-             line.product_uom_id = line.product_id.uom_id
  • product_uom_id

Back to entity