diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-06-12 19:18:42 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-06-12 19:18:42 +0200 |
| commit | efc64edf704938f442a5ad9bc7e58f2cda3fecda (patch) | |
| tree | 49adee1aa9d2b6d86133c88c3f1131192d711ad7 /addons | |
| parent | 6dd58871e1caaa145fcdc227180d43be86020692 (diff) | |
| parent | 242e485b4a28efb620cb0ae87996b10f4cd48747 (diff) | |
[MERGE] forward port branch 11.0 up to 242e485b4a2
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/stock/models/stock_quant.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/models/stock_quant.py b/addons/stock/models/stock_quant.py index c1a7d55300e..c002b79ee95 100644 --- a/addons/stock/models/stock_quant.py +++ b/addons/stock/models/stock_quant.py @@ -470,5 +470,5 @@ class QuantPackage(models.Model): for quant in self._get_contained_quants(): if quant.product_id not in res: res[quant.product_id] = 0 - res[quant.product_id] += quant.qty + res[quant.product_id] += quant.quantity return res |
