Merge pull request #49160 from frappe/mergify/bp/version-15/pr-49156

fix: current qty for batch in stock reco (backport #49154) (backport #49156)
This commit is contained in:
rohitwaghchaure
2025-08-14 11:32:01 +05:30
committed by GitHub

View File

@@ -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
)