fix: timeout while cancelling LCV (#42030)

fix: timeout while canelling LCV
This commit is contained in:
rohitwaghchaure
2024-06-25 17:38:03 +05:30
committed by GitHub
parent a2ee4631cc
commit 21bf7fd1f8

View File

@@ -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"))