From 90729c03c4b21d0f9719a681355f9253ceea7e2a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 5 Nov 2018 10:28:44 +0100 Subject: [PATCH] Fix dependencies of new modules --- htdocs/core/modules/modDataPolicy.class.php | 2 +- .../core/modules/modEmailCollector.class.php | 2 +- htdocs/datapolicy/README.md | 5 + htdocs/takepos/README.md | 95 +------------------ 4 files changed, 9 insertions(+), 95 deletions(-) create mode 100644 htdocs/datapolicy/README.md diff --git a/htdocs/core/modules/modDataPolicy.class.php b/htdocs/core/modules/modDataPolicy.class.php index 4987bec3856..fa03a31870d 100644 --- a/htdocs/core/modules/modDataPolicy.class.php +++ b/htdocs/core/modules/modDataPolicy.class.php @@ -103,7 +103,7 @@ class modDataPolicy extends DolibarrModules { // Dependencies $this->hidden = false; // A condition to hide module - $this->depends = array(); // List of module class names as string that must be enabled if this module is enabled + $this->depends = array('always'=>'modCron'); // List of module class names as string that must be enabled if this module is enabled $this->requiredby = array(); // List of module ids to disable if this one is disabled $this->conflictwith = array(); // List of module class names as string this module is in conflict with $this->langfiles = array("datapolicy@datapolicy"); diff --git a/htdocs/core/modules/modEmailCollector.class.php b/htdocs/core/modules/modEmailCollector.class.php index 26d78a7fb0e..bbf384be9e4 100644 --- a/htdocs/core/modules/modEmailCollector.class.php +++ b/htdocs/core/modules/modEmailCollector.class.php @@ -87,7 +87,7 @@ class modEmailCollector extends DolibarrModules // Dependencies $this->hidden = false; // A condition to hide module - $this->depends = array(); // List of module class names as string that must be enabled if this module is enabled + $this->depends = array('always'=>'modCron'); // List of module class names as string that must be enabled if this module is enabled $this->requiredby = array(); // List of module ids to disable if this one is disabled $this->conflictwith = array(); // List of module class names as string this module is in conflict with $this->langfiles = array("admin"); diff --git a/htdocs/datapolicy/README.md b/htdocs/datapolicy/README.md new file mode 100644 index 00000000000..e2bde95a6d8 --- /dev/null +++ b/htdocs/datapolicy/README.md @@ -0,0 +1,5 @@ +DataPolicy +========== + +This module provides features to be compliant with data privacy rules of your country. +A schedlued job is installed to automatically clean old record in your database. You defined what to delete and when in the setup of module. \ No newline at end of file diff --git a/htdocs/takepos/README.md b/htdocs/takepos/README.md index 40d4742af27..bdbe6bbd2e8 100644 --- a/htdocs/takepos/README.md +++ b/htdocs/takepos/README.md @@ -1,100 +1,9 @@ -# TAKEPOS FOR DOLIBARR ERP CRM +# TAKEPOS ## Features -Touch Screen POS +Add a Touch Screen POS (Point Of Sale) to your ERP. -Other modules are available on Dolistore.com. - - - -### Translations - -Translations can be define manually by editing files into directories [langs](langs). - - - - - - - -Licenses --------- - -### Main code - -![GPLv3 logo](img/gplv3.png) - -GPLv3 or (at your option) any later version. - -See [COPYING](COPYING) for more information. - -#### Documentation - -All texts and readmes. - -![GFDL logo](img/gfdl.png)