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

Module: Recurring - Contracts Management

Entity: contract.template.line

Compute Method: _compute_allowed_uom_ids

Inputs Method Outputs
for record in self:
            record.allowed_uom_ids = (
                record.product_id.uom_id | record.product_id.uom_ids
            )

Back to entity