From 50087506d5fab25a9bc1275e59fd12f5fada2883 Mon Sep 17 00:00:00 2001 From: David Harper Date: Sun, 11 Apr 2021 22:25:13 +0100 Subject: [PATCH] Rename inventory count field quantity_added to quantity issue7873 review287621002 --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock.py b/stock.py index 7cbbe8526a..341929f53e 100644 --- a/stock.py +++ b/stock.py @@ -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