Rename inventory count field quantity_added to quantity

issue7873
review287621002
This commit is contained in:
David Harper committed 2021-04-11 22:25:13 +01:00
1 parent d1bafbfe85
commit 50087506d5
1 file changed
+1 -1
+1 -1
View File
@@ -151,7 +151,7 @@ class InventoryCount(metaclass=PoolMeta):
values = super(InventoryCount, self).default_quantity(fields)
line = InventoryLine(values['line'])
if line.lot and line.lot.unit:
values['quantity_added'] = UoM.compute_qty(
values['quantity'] = UoM.compute_qty(
line.lot.unit, line.lot.unit_quantity,
line.uom)
return values