mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +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_date=doc.posting_date,
|
||||||
posting_time=doc.posting_time,
|
posting_time=doc.posting_time,
|
||||||
ignore_voucher_nos=[doc.voucher_no],
|
ignore_voucher_nos=[doc.voucher_no],
|
||||||
|
for_stock_levels=True,
|
||||||
)
|
)
|
||||||
or 0
|
or 0
|
||||||
) * -1
|
) * -1
|
||||||
|
|||||||
Reference in New Issue
Block a user