mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-26 22:52:10 +01:00
fix: timeout while cancelling LCV (backport #42030) (#42031) fix: timeout while cancelling LCV (#42030) fix: timeout while canelling LCV (cherry picked from commit21bf7fd1f8) Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com> (cherry picked from commit2e76b9f9db) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1794,6 +1794,7 @@ def get_next_stock_reco(kwargs):
|
|||||||
sle.actual_qty,
|
sle.actual_qty,
|
||||||
sle.has_batch_no,
|
sle.has_batch_no,
|
||||||
)
|
)
|
||||||
|
.force_index("item_warehouse")
|
||||||
.where(
|
.where(
|
||||||
(sle.item_code == kwargs.get("item_code"))
|
(sle.item_code == kwargs.get("item_code"))
|
||||||
& (sle.warehouse == kwargs.get("warehouse"))
|
& (sle.warehouse == kwargs.get("warehouse"))
|
||||||
|
|||||||
Reference in New Issue
Block a user