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: stock.quant
Compute Method: _compute_inventory_diff_quantity
| Inputs | Method | Outputs |
|---|---|---|
|
for quant in self: - quant.inventory_diff_quantity = quant.inventory_quantity - quant.quantity + if quant.inventory_quantity_set: + quant.inventory_diff_quantity = quant.inventory_quantity - quant.quantity + else: + quant.inventory_diff_quantity = 0 |
|
