fix: consider expired batches in stock reco
(cherry picked from commit f51c9f578c)
This commit is contained in:
committed by
Mergify
parent
cfa062df86
commit
c924feb0d0
@@ -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