From 1d24abf5ddccabce25863d793dd6dd3c67922e70 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Thu, 5 Feb 2026 15:02:47 +0530 Subject: [PATCH] chore: fix issue --- erpnext/stock/report/stock_balance/stock_balance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/report/stock_balance/stock_balance.py b/erpnext/stock/report/stock_balance/stock_balance.py index 524b8d830d2..ccee40ce25f 100644 --- a/erpnext/stock/report/stock_balance/stock_balance.py +++ b/erpnext/stock/report/stock_balance/stock_balance.py @@ -283,7 +283,7 @@ class StockBalanceReport: qty_dict[field] = entry.get(field) if entry.voucher_type == "Stock Reconciliation" and ( - not entry.batch_no or not entry.serial_no or not entry.serial_and_batch_bundle + not entry.batch_no and not entry.serial_no and not entry.serial_and_batch_bundle ): qty_diff = flt(entry.qty_after_transaction) - flt(qty_dict.bal_qty) else: