mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
fix: timeout while cancelling LCV (#42030)
fix: timeout while canelling LCV
This commit is contained in:
@@ -1529,6 +1529,7 @@ def get_next_stock_reco(kwargs):
|
|||||||
sle.batch_no,
|
sle.batch_no,
|
||||||
sle.actual_qty,
|
sle.actual_qty,
|
||||||
)
|
)
|
||||||
|
.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