fix: incorrect stock value in the report

This commit is contained in:
Rohit Waghchaure
2025-09-03 19:03:08 +05:30
parent c585903a4a
commit 5824b5effd

View File

@@ -72,6 +72,7 @@ def execute(filters=None):
batch_balance_dict[sle.batch_no] = [0, 0]
batch_balance_dict[sle.batch_no][0] += sle.actual_qty
batch_balance_dict[sle.batch_no][1] += stock_value
if filters.get("segregate_serial_batch_bundle"):
actual_qty = batch_balance_dict[sle.batch_no][0]