mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
fix: timeout while cancelling LCV (#42030)
fix: timeout while canelling LCV
(cherry picked from commit 21bf7fd1f8)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user