* NEW : manage several type of dangerous goods for a same parcel
Manage several type of dangerous goods for a same parcel Before :
dangerous_goods : smallint (so only 1 type can be defined eg 3) After
dangerous_goods : varchar so can be a list of numbers eg 3,5,8
* Update llx_expedition_package.sql
> Adding a default value to default '0' to keep compatibility seems required.
* Update 20.0.0-21.0.0.sql
> You must include migration change into same PR so PR is atomic. Include change of #30237
* Update llx_expedition_package.sql
space missing
* Update 20.0.0-21.0.0.sql
> -- To change type of field: ALTER TABLE llx_table MODIFY COLUMN name varchar(60);
* replace old syntax
* replace old syntax
* replace old syntax
* replace old syntax
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* rename files with same class name
* fix class with same name
* fix class with same name
* clean code
Adaptation of detect_dolibarr_main_data_root to handle more cases, especially when servers don't have htdocs
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* Fix language
* CI Missing language key
* Update eventorganization.lang
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Bookcal : more date check
* fix phpcs warning
* No error if dateStartTimestamp not yet set
* Docker for PROD
* Update Readme
* Fix else if CodeSniffer warning
* Update Readme for Docker
* Random DB password
* Add install.forced.docker.php
* Enable dolibarr_main_url_roo writable in forced mode
* revert on main_url editable
* force_install_noedit : new value '3' to block all technical parameters excepted main_url, used in install.forced.docker.php
* force_install_noedit code 3 corrections
* Fix HOST_USER_ID, add HOST_GROUP_ID
* Fix phpcs
* Not force https if DOL_MAIN_URL_ROOT yet contains https
* Space after comma for phpcs
* use HOST_GROUP_ID
* Explanations to check https
* Update main.inc.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Bookcal : more date check
* fix phpcs warning
* No error if dateStartTimestamp not yet set
* Docker for PROD
* Update Readme
* Fix else if CodeSniffer warning
* Update Readme for Docker
* Random DB password
* Add install.forced.docker.php
* Enable dolibarr_main_url_roo writable in forced mode
* revert on main_url editable
* Allow tweaking of the index that MySQL use when searching products
Sometimes when working with large dataset with many entities the MySQL engine does not pick-up the right index.
This is especially true when doing a search over the reference because the LIKE '%%' prevent the uk_product_label from being chosen.
This PR aims to improve this situation by doing the following :
- Adding a simple index on entity column.
- Adding an hidden constant to force the index being used when searching products.
Performances over a 8M products dataset shows a reduction of 2/3 execution time.
* Add missing global $conf
* Fix wrong usage of getDolGlobalString()
* Finalise fix
* Add more indexes
* Rework indexes