getNextValue() (#30316)

This commit is contained in:
atm-jonathan 2024-07-08 21:46:07 +02:00 committed by GitHub
parent 4e8e0b82de
commit 1e4cc39e3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -422,7 +422,7 @@ class Delivery extends CommonObject
$soc->fetch($this->socid);
if (preg_match('/^[\(]?PROV/i', $this->ref) || empty($this->ref)) { // empty should not happened, but when it occurs, the test save life
$numref = $objMod->delivery_get_num($soc, $this);
$numref = $objMod->getNextValue($soc, $this);
} else {
$numref = $this->ref;
}