fix: round outstanding qty guard consistently with the conflict gate

This commit is contained in:
Mihir Kandoi
2026-07-15 11:29:53 +05:30
parent 555c607f2f
commit f3e1b3fca7

View File

@@ -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(