diff --git a/erpnext/stock/report/stock_ledger/stock_ledger.py b/erpnext/stock/report/stock_ledger/stock_ledger.py index bbc85c5a4ad..b9275417847 100644 --- a/erpnext/stock/report/stock_ledger/stock_ledger.py +++ b/erpnext/stock/report/stock_ledger/stock_ledger.py @@ -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]