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: product.template

Compute Method: _compute_store_by

Inputs Method Outputs
for template in self:
            template.store_by = (template.tracking or 'quantity') if template.is_storable else 'untracked'

Back to entity