From 3ecb09ae523c76fccf2a69ae924fc28d3ab57b56 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 (cherry picked from commit 817e719cc2674ad98ad53167f2ae6aeb2432f672) --- .../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 cf789d5bca2..ec54c9dc92e 100644 --- a/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py +++ b/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py @@ -1478,6 +1478,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 )