[FIX] stock: incorrect field

The field is now `quantity`. This wasn't spotted before because the
method is not used anywhere.

opw-2008491

closes odoo/odoo#34067

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Nicolas Martinelli
2019-06-12 11:50:44 +00:00
parent f1706c848d
commit b5dddce5b9
+1 -1
View File
@@ -490,5 +490,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