diff --git a/htdocs/bom/class/api_boms.class.php b/htdocs/bom/class/api_boms.class.php index 36cc2850db0..37008475160 100644 --- a/htdocs/bom/class/api_boms.class.php +++ b/htdocs/bom/class/api_boms.class.php @@ -206,8 +206,6 @@ class Boms extends DolibarrApi $this->bom->$field = $value; } - // Check Ref Numbering - // We check that object has a temporary ref $this->CheckRefNumbering(); if (!$this->bom->create(DolibarrApiAccess::$user)) { @@ -246,8 +244,6 @@ class Boms extends DolibarrApi $this->bom->$field = $value; } - // Check Ref Numbering - // We check that object has a temporary ref $this->CheckRefNumbering(); if ($this->bom->update(DolibarrApiAccess::$user) > 0) {