Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Manufacturing
Entity: mrp.unbuild
Compute Method: _compute_uom_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ for record in self: + if record.mo_id.product_id and record.mo_id.product_id == record.product_id: + record.uom_id = record.mo_id.uom_id.id + else: + record.uom_id = record.product_id.uom_id.id |
|
