diff --git a/htdocs/core/modules/modTakePos.class.php b/htdocs/core/modules/modTakePos.class.php index 286c34bf61c..ecbd3b9c8c4 100644 --- a/htdocs/core/modules/modTakePos.class.php +++ b/htdocs/core/modules/modTakePos.class.php @@ -86,7 +86,7 @@ class modTakePos extends DolibarrModules 'tpl' => 0, // Set this to 1 if module overwrite template dir (core/tpl) 'barcode' => 0, // Set this to 1 if module has its own barcode directory (core/modules/barcode) 'models' => 0, // Set this to 1 if module has its own models directory (core/modules/xxx) - 'hooks' => array('data'=>array('invoicecard'), 'entity'=>'0') // Set here all hooks context managed by module. To find available hook context, make a "grep -r '>initHooks(' *" on source code. You can also set hook context 'all' + 'hooks' => array() // Set here all hooks context managed by module. To find available hook context, make a "grep -r '>initHooks(' *" on source code. You can also set hook context 'all' ); // Data directories to create when module is enabled. diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index 5027e976a4b..1229ace57ee 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -4470,6 +4470,7 @@ function migrate_delete_old_files($db, $langs, $conf) '/societe/class/api_contact.class.php', '/societe/class/api_thirdparty.class.php', '/support/online.php', + '/takepos/class/actions_takepos.class.php' ); foreach ($filetodeletearray as $filetodelete) {