676
edits
mNo edit summary Tag: 2017 source edit |
mNo edit summary Tags: Visual edit Mobile edit Mobile web edit |
||
| Line 1: | Line 1: | ||
{{TemplateVersion| | {{TemplateVersion| | ||
version=15.0| | version=15.0| | ||
date=February 2022| | date=February 2022| | ||
mainfocus=Online signature, standardization of code, maturity of features, more mass actions... }} | mainfocus=Online signature, standardization of code, maturity of features, more mass actions... }} | ||
https://www.atm-consulting.fr/les-nouveautes-de-la-version-15-0-de-dolibarr-erp-crm-2/[https://www.atm-consulting.fr/les-nouveautes-de-la-version-15-0-de-dolibarr-erp-crm-2/] | |||
'''Detailed Changelog''': | '''Detailed Changelog''': | ||
<pre> | <pre> | ||
For users: | For users: | ||
--------------- | --------------- | ||
| Line 148: | Line 152: | ||
Following changes may create regressions for some external modules, but were necessary to make Dolibarr better: | Following changes may create regressions for some external modules, but were necessary to make Dolibarr better: | ||
* ALL EXTERNAL MODULES THAT WERE NOT CORRECTLY DEVELOPPED WILL NOT WORK ON V15 (All modules that forgot to manage the security token field | |||
*ALL EXTERNAL MODULES THAT WERE NOT CORRECTLY DEVELOPPED WILL NOT WORK ON V15 (All modules that forgot to manage the security token field | |||
into forms will be broken. The security token field is expected since Dolibarr v9 but a lot of external modules did not implement it). | into forms will be broken. The security token field is expected since Dolibarr v9 but a lot of external modules did not implement it). | ||
* Update hook 'printOriginObjectLine', removed check on product type and special code. Need now reshook. | |||
* Old deprecated module "SimplePOS" has been completely removed. Use module "TakePOS" is you need a Point Of Sale. | *Update hook 'printOriginObjectLine', removed check on product type and special code. Need now reshook. | ||
* The method static ActionComm::getActions($db, ...) is no more static. Use $actioncomm->getActions(...) instead (without $db param). | *Old deprecated module "SimplePOS" has been completely removed. Use module "TakePOS" is you need a Point Of Sale. | ||
* The 'action=delete&file=...' has been replaced with 'action=deletefile&file=...' to avoid confusion with deletion of object lines. | *The method static ActionComm::getActions($db, ...) is no more static. Use $actioncomm->getActions(...) instead (without $db param). | ||
* Method getDictvalue has been renamed into getDictionaryValue to match camel case rule. | *The 'action=delete&file=...' has been replaced with 'action=deletefile&file=...' to avoid confusion with deletion of object lines. | ||
* To execute shell or command line command, your code must never use method like exec, shell_exec, popen, .. but must use the built-in | *Method getDictvalue has been renamed into getDictionaryValue to match camel case rule. | ||
*To execute shell or command line command, your code must never use method like exec, shell_exec, popen, .. but must use the built-in | |||
method executeCLI() available into core/class/utils.class.php | method executeCLI() available into core/class/utils.class.php | ||
* Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php | |||
* ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed | *Class file expeditionbatch.class.php renamed to expeditionlinebatch.class.php | ||
* ExtraFields->showOutputField parameter 4 'extrafieldsobjectkey' is now required | *ExpeditionLineBatch::fetchAll is not static anymore and first parameter $db is removed | ||
* CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' instead of 'myobject', | *ExtraFields->showOutputField parameter 4 'extrafieldsobjectkey' is now required | ||
*CommonObject method add_object_linked now sets targettype to 'mymodule_myobject' instead of 'myobject', | |||
you can use hook 'setLinkedObjectSourceTargetType' to set your usual targettype | you can use hook 'setLinkedObjectSourceTargetType' to set your usual targettype | ||
edits