From f3e1b3fca7e96e93ace7aed0f3a5099e547d8d24 Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Wed, 15 Jul 2026 11:29:53 +0530 Subject: [PATCH] fix: round outstanding qty guard consistently with the conflict gate --- erpnext/controllers/stock_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py index 9623b36d2c9..feb064597a0 100644 --- a/erpnext/controllers/stock_controller.py +++ b/erpnext/controllers/stock_controller.py @@ -1372,7 +1372,7 @@ class StockController(AccountsController): reservations[key].append(row) for (batch_no, warehouse), reserved_qty in outstanding_qty.items(): - if reserved_qty <= 0: + if flt(reserved_qty, 6) <= 0: continue batch_qty = get_batch_qty(