diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index 37e3c0f08d434dc7ffff1848b567beee11baac4a..cc0d6478bb614efe861d5a600c6e097f02363229 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -338,11 +338,6 @@ class pdf_crabe extends ModelePDFFactures $height_incoterms = 0; if ($conf->incoterm->enabled) { - if (is_object($object->thirdparty)) - { - $object->fk_incoterms=$object->thirdparty->fk_incoterms; - $object->location_incoterms=$object->thirdparty->location_incoterms; - } $desc_incoterms = $object->getIncotermsForPDF(); if ($desc_incoterms) {