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.line

Compute Method: _compute_allowed_uom_ids

Inputs Method Outputs
for option in self:
            option.allowed_uom_ids = option.product_id.uom_id | option.product_id.uom_ids

Back to entity