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

Module: Repairs

Entity: repair.order

Compute Method: _compute_allowed_uom_ids

View 19.0
Inputs Method Outputs
  • product_id
  • product_id.uom_id
  • product_id.uom_ids
  • product_id.seller_ids
  • product_id.seller_ids.product_uom_id
+ for repair in self:
+             repair.allowed_uom_ids = repair.product_id.uom_id | repair.product_id.uom_ids | repair.product_id.seller_ids.product_uom_id
  • allowed_uom_ids

Back to entity