From 1e4cc39e3bd156e3eba187b5e2ea752d91fea12b Mon Sep 17 00:00:00 2001 From: atm-jonathan <146709163+atm-jonathan@users.noreply.github.com> Date: Mon, 8 Jul 2024 21:46:07 +0200 Subject: [PATCH] getNextValue() (#30316) --- htdocs/delivery/class/delivery.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/delivery/class/delivery.class.php b/htdocs/delivery/class/delivery.class.php index 345ab2cce79..5b90acbe33c 100644 --- a/htdocs/delivery/class/delivery.class.php +++ b/htdocs/delivery/class/delivery.class.php @@ -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; }