Merge pull request #53638 from rohitwaghchaure/fixed-deadlock-issue-for-sle

fix: deadlock issue for SLE
This commit is contained in:
rohitwaghchaure
2026-03-21 14:03:40 +05:30
committed by GitHub

View File

@@ -2046,7 +2046,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