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

Module: Stock Free Quantity

Entity: product.template

Compute Method: _compute_quantities

Inputs Method Outputs
  • id
super()._compute_quantities()
res = self._compute_quantities_dict()
for template in self:
            template.free_qty = res[template.id]["free_qty"]
return

Back to entity