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

Module: Inventory

Entity: stock.scrap

Compute Method: _compute_product_uom_id

Inputs Method Outputs
for scrap in self:
            scrap.product_uom_id = scrap.product_id.uom_id

Back to entity