Work on split module fournisseur

This commit is contained in:
Alexandre SPANGARO
2021-04-11 04:24:21 +02:00
parent ac64938266
commit ce7c5a0c7b
36 changed files with 77 additions and 77 deletions

View File

@@ -879,7 +879,7 @@ class pdf_squille extends ModelePdfReception
$origin_id = $object->origin_id;
// TODO move to external function
if (!empty($conf->fournisseur->enabled)) { // commonly $origin='commande'
if (!empty($conf->fournisseur->enabled) && empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) || !empty($conf->supplier_order->enabled)) { // commonly $origin='commande'
$outputlangs->load('orders');
$classname = 'CommandeFournisseur';