NEW Removed deprecated CommonObject::client property. Please use CommonObject::thirdparty instead

This commit is contained in:
Marcos García de La Fuente
2016-04-17 15:24:22 +02:00
parent 54dd1763fe
commit e2c86d3fd8
32 changed files with 87 additions and 95 deletions

View File

@@ -289,11 +289,11 @@ class doc_generic_order_odt extends ModelePDFCommandes
{
// On peut utiliser le nom de la societe du contact
if (! empty($conf->global->MAIN_USE_COMPANY_NAME_OF_CONTACT)) $socobject = $object->contact;
else $socobject = $object->client;
else $socobject = $object->thirdparty;
}
else
{
$socobject=$object->client;
$socobject=$object->thirdparty;
}
// Make substitution