Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Products & Pricelists
Entity: product.template
Compute Method: _compute_quantities
| Inputs | Method | Outputs |
|---|---|---|
|
+ res = self._compute_quantities_dict() + fields = ['qty_available', 'virtual_available', 'incoming_qty', 'outgoing_qty', 'free_qty'] + for template in self: + for field in fields: + template[field] = res[template.id][field] |
|
