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_quantities
| Inputs | Method | Outputs |
|---|---|---|
|
res = self._compute_quantities_dict() - for template in self: + for template in self.with_context(skip_qty_available_update=True): template.qty_available = res[template.id]['qty_available'] template.virtual_available = res[template.id]['virtual_available'] template.incoming_qty = res[template.id]['incoming_qty'] template.outgoing_qty = res[template.id]['outgoing_qty'] |
|
