Fix: Substitution missing
This commit is contained in:
parent
894e9a3a6b
commit
3025359899
@ -432,8 +432,9 @@ class doc_generic_invoice_odt extends ModelePDFFactures
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Replace tags of object
|
// Replace tags of object + external modules
|
||||||
$tmparray=$this->get_substitutionarray_object($object,$outputlangs);
|
$tmparray=$this->get_substitutionarray_object($object,$outputlangs);
|
||||||
|
complete_substitutions_array($tmparray, $outputlangs, $object);
|
||||||
foreach($tmparray as $key=>$value)
|
foreach($tmparray as $key=>$value)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|||||||
@ -280,7 +280,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc
|
|||||||
}
|
}
|
||||||
// Make substitutions into odt of thirdparty + external modules
|
// Make substitutions into odt of thirdparty + external modules
|
||||||
$tmparray=$this->get_substitutionarray_thirdparty($object,$outputlangs);
|
$tmparray=$this->get_substitutionarray_thirdparty($object,$outputlangs);
|
||||||
complete_substitutions_array($tmparray, $langs, $object);
|
complete_substitutions_array($tmparray, $ouputlangs, $object);
|
||||||
//var_dump($object->id); exit;
|
//var_dump($object->id); exit;
|
||||||
foreach($tmparray as $key=>$value)
|
foreach($tmparray as $key=>$value)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user