Don't discard previously collected data
For keeping all previously collected data (i.e. company_... values), one has to merge the array but not to assign a new one.
This commit is contained in:
parent
83df996bc2
commit
18fc169cd0
@ -449,7 +449,7 @@ class doc_generic_shipment_odt extends ModelePdfExpedition
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Replace tags of object + external modules
|
// Replace tags of object + external modules
|
||||||
$tmparray = $this->get_substitutionarray_shipment($object, $outputlangs);
|
$tmparray = array_merge($tmparray, $this->get_substitutionarray_shipment($object, $outputlangs));
|
||||||
|
|
||||||
complete_substitutions_array($tmparray, $outputlangs, $object);
|
complete_substitutions_array($tmparray, $outputlangs, $object);
|
||||||
// Call the ODTSubstitution hook
|
// Call the ODTSubstitution hook
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user