Skip to content

Commit

Permalink
fix: timeout while cancelling LCV (#42030)
Browse files Browse the repository at this point in the history
fix: timeout while canelling LCV
  • Loading branch information
rohitwaghchaure authored Jun 25, 2024
1 parent a2ee463 commit 21bf7fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/stock/stock_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,7 @@ def get_next_stock_reco(kwargs):
sle.batch_no,
sle.actual_qty,
)
.force_index("item_warehouse")
.where(
(sle.item_code == kwargs.get("item_code"))
& (sle.warehouse == kwargs.get("warehouse"))
Expand Down

0 comments on commit 21bf7fd

Please sign in to comment.