mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Work on split module fournisseur
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user