fix: consider expired batches in stock reco

(cherry picked from commit f51c9f578c)
This commit is contained in:
Rohit Waghchaure
2025-01-04 12:58:07 +05:30
committed by Mergify
parent cfa062df86
commit c924feb0d0

View File

@@ -1093,6 +1093,7 @@ class StockReconciliation(StockController):
posting_date=doc.posting_date,
posting_time=doc.posting_time,
ignore_voucher_nos=[doc.voucher_no],
for_stock_levels=True,
)
or 0
) * -1