fix: current qty for batch in stock reco

(cherry picked from commit 817e719cc2)
(cherry picked from commit 3ecb09ae52)
This commit is contained in:
Rohit Waghchaure
2025-08-13 23:38:51 +05:30
committed by Mergify
parent ed50c3d896
commit de641d7f68

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
)