Skip to content

Commit

Permalink
Fix dependencies of new modules
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 5, 2018
1 parent 01d7b1e commit 90729c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 95 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/modules/modDataPolicy.class.php
Expand Up @@ -103,7 +103,7 @@ public function __construct($db)

// 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");
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/modEmailCollector.class.php
Expand Up @@ -87,7 +87,7 @@ public function __construct($db)

// 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");
Expand Down
5 changes: 5 additions & 0 deletions 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.
95 changes: 2 additions & 93 deletions 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)

0 comments on commit 90729c0

Please sign in to comment.