Merge pull request #53669 from frappe/mergify/bp/version-15-hotfix/pr-53638

fix: deadlock issue for SLE (backport #53638)
This commit is contained in:
rohitwaghchaure
2026-03-21 14:41:01 +05:30
committed by GitHub

View File

@@ -2058,7 +2058,6 @@ def update_qty_in_future_sle(args, allow_negative_stock=False):
where
item_code = %(item_code)s
and warehouse = %(warehouse)s
and voucher_no != %(voucher_no)s
and is_cancelled = 0
and (
posting_datetime > %(posting_datetime)s