Revert "Fetch thirdparty to be sure thirdparty is accessible through an API call when we use ODT template"

This reverts commit 300abfd5
This commit is contained in:
Michael Jeanmotte 2020-01-29 15:12:14 +01:00
parent 300abfd5e2
commit a300cb9067

View File

@ -303,9 +303,6 @@ class doc_generic_invoice_odt extends ModelePDFFactures
$result = $object->fetch_contact($arrayidcontact[0]);
}
// Fetch thirdparty to be sure thirdparty is accessible through an API call when we use ODT template
$object->fetch_thirdparty();
// Recipient name
$contactobject = null;
if (!empty($usecontact)) {