From 817e719cc2674ad98ad53167f2ae6aeb2432f672 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 13 Aug 2025 23:38:51 +0530 Subject: [PATCH] fix: current qty for batch in stock reco --- .../stock/doctype/stock_reconciliation/stock_reconciliation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py index 71cc5e72481..5f5501ac33e 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py @@ -1473,6 +1473,7 @@ def get_stock_balance_for( posting_time=posting_time, for_stock_levels=True, consider_negative_batches=True, + do_not_check_future_batches=True, ) or 0 )