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

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

Back to entity