FIX #5813 Bug: Incoterms not being read correctly

This commit is contained in:
Laurent Destailleur 2016-10-01 13:32:24 +02:00
parent aae4524fe2
commit d079247b2b

View File

@ -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)
{