mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 11:55:11 +00:00
Merge pull request #45083 from rohitwaghchaure/fixed-support-28669
fix: consider expired batches in stock reco
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user