Dolibarr - information for developers and partners - devcamp Pau 2019
1. DevCamp
Pau 2019 - France
Laurent Destailleur – Project leader
2019
Dolibarr ERP CRM
Information for developers
and partners
2. Edit your course with Opale. Export it in SCORM format.
Publish it on the Dolibarr Academy
Guides and exemples of courses are available in
https://github.com/Dolibarr/dolibarr-foundation/tree/develop/courses
Dolibarr Academy
3. Edit the Dolibarr “What’s new video” with blender…
(sources in https://github.com/Dolibarr/dolibarr-foundation)
Dolibarr What’s new video
4. ● Test your package with the online module deployer (Home - Setup -
Modules - Deploy external module) => If your module does not work when installed
using this process, it should not be possible to publish it on DoliStore.com
● Enable the option MAIN_SECURITY_CSRF_WITH_TOKEN NOW ! =>
V11 seems 100% compatible. With this option, all <forms> must include this:
<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">
Check and test your own modules are doing this correctly or they will not work anymore with future
versions !
Future deprecations
5. ● We continue the work to migrate the code to follow PSR-12 :
- No space when you use ++ or - -
- Use $var++; and not $var ++;
- Add a space after the if and before the {
- If ($mycondition) {
- Use space before and after =
- $myvar = ‘myvalue’;
- No space after the concat ‘.’ character
- $mystring = “myfirstpart”.$mysecondpart;
- Both spaces and tabs are still accepted but this may change for spaces only
in future (PSR-12).
PSR-12
6. We are looking for developers to make work on long awaited features/changes:
● Edition of fields to make a remind (emails and popup) of an event.
● Use the editfieldkey|val to forge fields into view form:
○ print '<tr><td>';
○ print $form->editfieldkey("LabelOfField", 'fieldname', $object->fieldname, $object, $user->rights->perm);
○ print '</td><td>';
○ print $form->editfieldval("LabelOfField", 'fieldname', $object->fieldname, $object, $user->rights->perm);
○ print '</td></tr>';
● Move the checkbox on all lists at begin as first column.
● Import the website dolibarr.org into the CMS of the Dolibarr of the foundation.
Wanted...
7. ● Translations of new keys are now pushed on transifex each week...
● Use the tag #newinvX (#newinv10, #newinv11, ...), or just #vX, when you publish
a news on social networks ? => Being able to search all posts in social networks
about what’s new...
Other community information
8. Always available on this link:
https://github.com/Dolibarr/dolibarr/labels/Priority%20Top%20Strategic
The future of Dolibarr - TOP 10 strategic features