fix: consider expired batches in the stock reco (backport #47909) (#47919)

fix: consider expired batches in the stock reco (#47909)

(cherry picked from commit 8fa3473945)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2025-06-05 17:35:23 +05:30
committed by GitHub
parent 996fb7552a
commit 2e78e14c7e

View File

@@ -286,6 +286,7 @@ class StockReconciliation(StockController):
"warehouse": item.warehouse,
"posting_date": self.posting_date,
"posting_time": self.posting_time,
"for_stock_levels": True,
"ignore_voucher_nos": [self.name],
}
)