Skip to content

Commit

Permalink
fix: timeout while cancelling LCV (backport #42030) (backport #42031) (
Browse files Browse the repository at this point in the history
…#42032)

fix: timeout while cancelling LCV (backport #42030) (#42031)

fix: timeout while cancelling LCV (#42030)

fix: timeout while canelling LCV
(cherry picked from commit 21bf7fd)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
(cherry picked from commit 2e76b9f)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
mergify[bot] authored Jun 25, 2024
1 parent f6be19c commit 068de08
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 @@ -1794,6 +1794,7 @@ def get_next_stock_reco(kwargs):
sle.actual_qty,
sle.has_batch_no,
)
.force_index("item_warehouse")
.where(
(sle.item_code == kwargs.get("item_code"))
& (sle.warehouse == kwargs.get("warehouse"))
Expand Down

0 comments on commit 068de08

Please sign in to comment.