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

Module: Units of measure

Entity: uom.uom

Compute Method: _compute_factor_inv

Inputs Method Outputs
for uom in self:
            uom.factor_inv = uom.factor and (1.0 / uom.factor) or 0.0

Back to entity