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

Compute Method: _compute_allowed_uom_ids

Inputs Method Outputs
for line in self:
            line.allowed_uom_ids = line.product_id._get_available_uoms() | line.sudo().product_id.seller_ids.uom_id

Back to entity