Bladeren bron

Fix dependencies of new modules

Laurent Destailleur 6 jaren geleden
bovenliggende
commit
90729c03c4

+ 1 - 1
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");

+ 1 - 1
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");

+ 5 - 0
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.

+ 2 - 93
htdocs/takepos/README.md

@@ -1,100 +1,9 @@
-# TAKEPOS FOR <a href="https://www.takepos.com">DOLIBARR ERP CRM</a>
+# TAKEPOS
 
 ## Features
-Touch Screen POS
+Add a Touch Screen POS (Point Of Sale) to your ERP.
 
 <!--
 ![Screenshot takepos](img/screenshot_takepos.png?raw=true "TakePos"){imgmd}
 -->
 
-Other modules are available on <a href="https://www.dolistore.com" target="_new">Dolistore.com</a>.
-
-
-
-### Translations
-
-Translations can be define manually by editing files into directories [langs](langs). 
-
-<!--
-This module contains also a sample configuration for Transifex, under the hidden directory [.tx](.tx), so it is possible to manage translation using this service. 
-
-For more informations, see the [translator's documentation](https://wiki.dolibarr.org/index.php/Translator_documentation).
-
-There is a [Transifex project](https://transifex.com/projects/p/dolibarr-module-template) for this module.
--->
-
-
-<!--
-
-Install
--------
-
-### From the ZIP file and GUI interface
-
-- If you get the module in a zip file (like when downloading it from the market place [Dolistore](https://www.dolistore.com)), go into
-menu ```Home - Setup - Modules - Deploy external module``` and upload the zip file.
-
-
-Note: If this screen tell you there is no custom directory, check your setup is correct: 
-
-- In your Dolibarr installation directory, edit the ```htdocs/conf/conf.php``` file and check that following lines are not commented:
-
-    ```php
-    //$dolibarr_main_url_root_alt ...
-    //$dolibarr_main_document_root_alt ...
-    ```
-
-- Uncomment them if necessary (delete the leading ```//```) and assign a sensible value according to your Dolibarr installation
-
-    For example :
-
-    - UNIX:
-        ```php
-        $dolibarr_main_url_root_alt = '/custom';
-        $dolibarr_main_document_root_alt = '/var/www/Dolibarr/htdocs/custom';
-        ```
-
-    - Windows:
-        ```php
-        $dolibarr_main_url_root_alt = '/custom';
-        $dolibarr_main_document_root_alt = 'C:/My Web Sites/Dolibarr/htdocs/custom';
-        ```
-        
-### From a GIT repository
-
-- Clone the repository in ```$dolibarr_main_document_root_alt/takepos```
-
-```sh
-cd ....../custom
-git clone git@github.com:gitlogin/takepos.git takepos
-```
-
-### <a name="final_steps"></a>Final steps
-
-From your browser:
-
-  - Log into Dolibarr as a super-administrator
-  - Go to "Setup" -> "Modules"
-  - You should now be able to find and enable the module
-
-
-
--->
-
-
-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)