fix: revert stock balance value calculation

This commit is contained in:
Rohit Waghchaure
2021-03-13 12:48:14 +05:30
parent 5ae40871d8
commit a9d48e5fbf

View File

@@ -196,7 +196,7 @@ def get_item_warehouse_map(filters, sle):
else:
qty_diff = flt(d.actual_qty)
value_diff = flt(d.stock_value) - flt(qty_dict.bal_val)
value_diff = flt(d.stock_value_difference)
if d.posting_date < from_date:
qty_dict.opening_qty += qty_diff