Rename inventory count field quantity_added to quantity
issue7873 review287621002
This commit is contained in:
1 parent
d1bafbfe85
commit
50087506d5
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user