changeset be4c2569640e in modules/stock_lot_unit:default
details:
https://hg.tryton.org/modules/stock_lot_unit?cmd=changeset&node=be4c2569640e
description:
Rename inventory count field quantity_added to quantity
issue7873
review287621002
diffstat:
stock.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6b10943ccf7c -r be4c2569640e stock.py
--- a/stock.py Wed Feb 03 21:19:06 2021 +0100
+++ b/stock.py Sun Apr 11 22:25:13 2021 +0100
@@ -151,7 +151,7 @@
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