diff --git a/ChangeLog b/ChangeLog index dc930fe37ac..9c5f1a5c166 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,13 +39,14 @@ For developers: - New: Triggers OPENSURVEY_CREATE, OPENSURVEY_DELETE added. - New: Add new hook function addMoreActionsButtons to allow a module to add/replace action buttons into an element. +- New: Normalize code for barcode generation to match other modules. WARNING: Following change may create regression for some external modules, but was necessary to make Dolibarr better: - The deprecated way (with 4 parameters) to declare a new tab into a module descriptor file has been removed. You must now use the 6 parameters way. See file modMyModule.class.php for example. - +- ***** ChangeLog for 3.5 compared to 3.4.* ***** For users: diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php index 2e815919672..0d8f36f84ea 100644 --- a/htdocs/admin/barcode.php +++ b/htdocs/admin/barcode.php @@ -108,7 +108,7 @@ clearstatcache(); // Scan list of all barcode included provided by external modules -$dirbarcode=array_merge(array("/core/modules/barcode/"), $conf->modules_parts['barcode']); +$dirbarcode=array_merge(array("/core/modules/barcode/doc/"), $conf->modules_parts['barcode']); foreach($dirbarcode as $reldir) { @@ -289,8 +289,8 @@ if (! isset($_SERVER['WINDIR'])) print ''; } -// Module produits -if (! empty($conf->societe->enabled)) +// Module products +if (! empty($conf->product->enabled)) { $var=!$var; print "
'; } -// Module produits -if (! empty($conf->product->enabled)) +// Module thirdparty +if (! empty($conf->societe->enabled)) { $var=!$var; print "