fix: consider expired batches in stock reco

This commit is contained in:
Rohit Waghchaure
2025-01-04 12:58:07 +05:30
parent 8aa3157307
commit f51c9f578c

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