getNextValue() (#30316)
This commit is contained in:
parent
4e8e0b82de
commit
1e4cc39e3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue