Skip to content

Commit de41aba

Browse files
rohitwaghchauremergify[bot]
authored andcommitted
fix: deadlock issue for SLE
(cherry picked from commit f48b03c)
1 parent 077f397 commit de41aba

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

erpnext/stock/stock_ledger.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,6 @@ def update_qty_in_future_sle(args, allow_negative_stock=False):
20462046
where
20472047
item_code = %(item_code)s
20482048
and warehouse = %(warehouse)s
2049-
and voucher_no != %(voucher_no)s
20502049
and is_cancelled = 0
20512050
and (
20522051
posting_datetime > %(posting_datetime)s

0 commit comments

Comments
 (0)