From e3f2e1bd55fc5f69ecf0163d25d9a37bc73871e9 Mon Sep 17 00:00:00 2001 From: HENRY Florian Date: Tue, 24 Jun 2025 16:02:07 +0200 Subject: [PATCH] fix: negative quantity in reception are allowed and must be managed on revert stock mvt (#34615) --- htdocs/reception/class/reception.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/reception/class/reception.class.php b/htdocs/reception/class/reception.class.php index 8751583acb5..c93e900e6ea 100644 --- a/htdocs/reception/class/reception.class.php +++ b/htdocs/reception/class/reception.class.php @@ -1977,10 +1977,6 @@ class Reception extends CommonObject $qty = $obj->qty; - - if ($qty <= 0) { - continue; - } dol_syslog(get_class($this)."::reopen reception movement index ".$i." ed.rowid=".$obj->rowid." edb.rowid=".$obj->edbrowid); //var_dump($this->lines[$i]);