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 …
This commit is contained in:
commit
c7aa486d93
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user