Modules - Rules for community modules: Difference between revisions

m
Tag: 2017 source edit
Tag: 2017 source edit
Line 30: Line 30:
Modules must follow the same quality and coding rules than the Dolibarr project (See [[Language_and_development_rules]]), except the minimal and maximal PHP version (See chapter "Compatibility").
Modules must follow the same quality and coding rules than the Dolibarr project (See [[Language_and_development_rules]]), except the minimal and maximal PHP version (See chapter "Compatibility").
Of course, the licence of the module, as a derivative work of Dolibarr that is licensed under GPL v3+, should use the GPL license or any OSI license compatible with GPL v3+.
Of course, the licence of the module, as a derivative work of Dolibarr that is licensed under GPL v3+, should use the GPL license or any OSI license compatible with GPL v3+.
== Attribution and authors ==
Source files of module can (should) contains name, email (and company name) of each author, however, the module should not contains any mention to the company at any other places, except into the source file header, so the About page of the module must refer to the authors as the "Dolibarr community". Name, email and company name of authors can be mentionned inside source files but we should not find a link to the web site of an external company inside the screen of the module. Links to the Git forge or any Dolibarr resource (like the https://partners.dolibarr.org page) are allowed.


== Authority ==
== Authority ==