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

FIX #5813 Bug: Incoterms not being read correctly

parent aae4524f
Branches
No related tags found
No related merge requests found
...@@ -338,11 +338,6 @@ class pdf_crabe extends ModelePDFFactures ...@@ -338,11 +338,6 @@ class pdf_crabe extends ModelePDFFactures
$height_incoterms = 0; $height_incoterms = 0;
if ($conf->incoterm->enabled) 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(); $desc_incoterms = $object->getIncotermsForPDF();
if ($desc_incoterms) if ($desc_incoterms)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment