fix: deadlock issue for SLE

(cherry picked from commit f48b03c6ec)
This commit is contained in:
Rohit Waghchaure
2026-03-19 14:13:56 +05:30
committed by Mergify
parent d96590c4d9
commit 540a8540d6

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