Merge pull request #10347 from prietojc/patch-4

FIX: To add more thirdparties pdf models in custom modules
This commit is contained in:
Laurent Destailleur 2019-01-17 19:01:38 +01:00 committed by GitHub
commit ba34709c36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -327,6 +327,7 @@ $head = societe_admin_prepare_head();
dol_fiche_head($head, 'general', $langs->trans("ThirdParties"), -1, 'company');
$dirsociete=array_merge(array('/core/modules/societe/'),$conf->modules_parts['societe']);
foreach ($conf->modules_parts['models'] as $mo) $dirsociete[]=$mo.'core/modules/societe/'; //Add more models
// Module to manage customer/supplier code