From f49ecdb6eff4fb231eec7309d72b339bed5b1306 Mon Sep 17 00:00:00 2001 From: kkhelifa-opendsi Date: Tue, 8 Aug 2023 21:04:02 +0200 Subject: [PATCH] NEW: Add get_substitutionarray_other() on shipping odt (#25080) --- .../modules/expedition/doc/doc_generic_shipment_odt.modules.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php index 219c0f47029..507f35b34dd 100644 --- a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php +++ b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php @@ -461,6 +461,7 @@ class doc_generic_shipment_odt extends ModelePdfExpedition // Replace tags of object + external modules $tmparray = array_merge($tmparray, $this->get_substitutionarray_shipment($object, $outputlangs)); + $tmparray = array_merge($tmparray, $this->get_substitutionarray_other($outputlangs)); complete_substitutions_array($tmparray, $outputlangs, $object); // Call the ODTSubstitution hook