Skip to content

Commit

Permalink
fix: consider expired batches in stock reco
Browse files Browse the repository at this point in the history
(cherry picked from commit f51c9f5)
  • Loading branch information
rohitwaghchaure authored and mergify[bot] committed Jan 4, 2025
1 parent cfa062d commit c924feb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ def get_current_qty_for_batch_nos(self, doc):
posting_date=doc.posting_date,
posting_time=doc.posting_time,
ignore_voucher_nos=[doc.voucher_no],
for_stock_levels=True,
)
or 0
) * -1
Expand Down

0 comments on commit c924feb

Please sign in to comment.