Skip to content
Snippets Groups Projects
Commit c7aa486d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5282 from atm-ph/fix_3.9_miss_value_extrafield_on_builddoc

Fix builddoc with odt lost value of extrafields as "sellist" on view …
parents 5a105b75 01b881a0
No related branches found
No related tags found
No related merge requests found
......@@ -381,6 +381,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
$tmparray = array_merge($array_user,$array_soc,$array_thirdparty,$array_objet,$array_other,$array_thirdparty_contact);
complete_substitutions_array($tmparray, $outputlangs, $object);
$object->fetch_optionals();
// Call the ODTSubstitution hook
$parameters=array('file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs,'substitutionarray'=>&$tmparray);
$reshook=$hookmanager->executeHooks('ODTSubstitution',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment