fix: update Stock Reconciliation
diff qty while reposting
This commit is contained in:
parent
984f89d274
commit
6a1b0a2fab
@ -962,6 +962,7 @@ class update_entries_after(object):
|
||||
item.current_amount = flt(item.current_qty) * flt(item.current_valuation_rate)
|
||||
|
||||
item.amount = flt(item.qty) * flt(item.valuation_rate)
|
||||
item.quantity_difference = item.qty - item.current_qty
|
||||
item.amount_difference = item.amount - item.current_amount
|
||||
else:
|
||||
sr.difference_amount = sum([item.amount_difference for item in sr.items])
|
||||
|
Loading…
Reference in New Issue
Block a user