Commit Graph

8276 Commits

Author SHA1 Message Date
dolibarr95
ed207cfb2f NEW : manage several type of dangerous goods for a same parcel (#30238)
* 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);
2024-07-06 03:34:48 +02:00
Frédéric FRANCE
ea416aac93 replace old syntax, rename pdf models with same class name (#30271)
* 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
2024-07-06 02:59:40 +02:00
Zephyriony
46435ceb44 QUAL Update inc.php (#29822)
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>
2024-07-02 01:59:20 +02:00
Alexandre SPANGARO
96afcaa476 Better comments (#30200)
* 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>
2024-06-30 21:02:50 +02:00
Laurent Destailleur
4ba6b0d2f0 Clean language 2024-06-30 15:26:31 +02:00
Laurent Destailleur
6c02ba9f92 Doc 2024-06-30 12:19:34 +02:00
Laurent Destailleur
6ad4ebc81c Start implementation of STOCK_USE_WAREHOUSE_USAGE. 2024-06-30 12:16:41 +02:00
Laurent Destailleur
1104b95137 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-27 13:47:27 +02:00
Laurent Destailleur
902065406b Debug v20 2024-06-27 09:20:04 +02:00
lamrani abdelwadoud
16ffc39735 New update for templateMail by creating files (#30151)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-26 18:01:00 +02:00
Laurent Destailleur
2e938fe9ef Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-24 12:44:28 +02:00
Laurent Destailleur
c8eee02b66 Add total field into contract 2024-06-24 11:18:52 +02:00
Laurent Destailleur
c54a97e923 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-24 01:47:18 +02:00
Laurent Destailleur
a4a7ee0805 Debug v20 2024-06-23 23:05:50 +02:00
Laurent Destailleur
adb354f97a Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-23 14:00:12 +02:00
Laurent Destailleur
62a7c7728b Debug v20 2024-06-23 13:57:35 +02:00
Laurent Destailleur
088f9e795b Removed not used field 2024-06-23 13:52:57 +02:00
dolibarr95
f15133562d Update llx_c_socialnetworks.sql LinkedIn link (#30121)
Wrong link for LinkedIn social network
2024-06-22 15:56:58 +02:00
Frédéric FRANCE
ba461fa2e7 fix migration19.0.0-20.0.0.sql (#30126) 2024-06-22 15:31:33 +02:00
Laurent Destailleur
587e6347ff Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-20 20:41:09 +02:00
Laurent Destailleur
4b0579366e Fix missing column entity 2024-06-20 15:05:03 +02:00
Laurent Destailleur
81869dab2a Remove not used table 2024-06-20 11:42:24 +02:00
Laurent Destailleur
b09b6d4b91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-19 20:20:20 +02:00
Laurent Destailleur
eff58002aa Prepare v21 2024-06-19 20:20:03 +02:00
Vincent de Grandpré
949bff05b3 QUAL conformity PR for data structure of #29964 (#30014)
* conformity PR for data structure of #29964

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-19 20:19:30 +02:00
yledoare
fd5430c9d9 #NEW force_install_noedit : add value 3 to block all technical parameters excepted main_url (#30080)
* 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>
2024-06-19 19:27:04 +02:00
Laurent Destailleur
9b50c4d2ef Debug v20 2024-06-19 17:58:15 +02:00
Laurent Destailleur
3119a29a50 Close #30083 in develop for v20 2024-06-19 14:39:15 +02:00
Laurent Destailleur
6d8debd95e Clean files not used in v20 2024-06-18 14:14:41 +02:00
Laurent Destailleur
c8b3f52770 Doc 2024-06-16 12:34:56 +02:00
Laurent Destailleur
564757d379 Missing index 2024-06-16 12:33:28 +02:00
Laurent Destailleur
7054e05f86 doc 2024-06-16 12:18:57 +02:00
yledoare
e7fc690fb8 Support Docker install in production environment (#29951)
* 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
2024-06-15 17:11:01 +02:00
Laurent Destailleur
a863333226 Fix #30012 2024-06-15 16:40:04 +02:00
Laurent Destailleur
8e12d3fd17 Trans 2024-06-12 14:42:02 +02:00
Laurent Destailleur
14ca7e80a6 Fix test 2024-06-12 14:34:24 +02:00
Laurent Destailleur
524f300034 Clean repair page 2024-06-12 14:33:36 +02:00
Laurent Destailleur
25e9d9b2ba Trans 2024-06-12 13:57:56 +02:00
sonikf
1baec9ab27 Update tva for Greece (#29849)
* Update tva for Greece

* Update tva for Greece

* Update tva for Greece

* Update tva for Greece
2024-06-09 03:19:11 +02:00
Aloïs Micard
0cfd16d8db Allow tweaking of the index that MySQL use when searching products (#29934)
* 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
2024-06-08 19:35:28 +02:00
Maxime Kohlhaas
5c6061ec0a NEW : add indexes on chargesociales table (#29911)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 02:34:58 +02:00
HENRY Florian
ebab48ac0e fix: fix SQL new install (#29861)
* fix: SQL fresh install script

* fix: SQL fresh install script

* fix perms files

* fix: travis CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 00:27:50 +02:00
Laurent Destailleur
42470a113e Doc 2024-06-04 11:15:56 +02:00
jyhere
57f35d7774 FIX: default element_type should be 'commande' (e.g Commande::) (#29791)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-03 13:51:36 +02:00
Laurent Destailleur
6e06f179f6 Missing field 2024-06-03 11:50:40 +02:00
Laurent Destailleur
32dc3a885f Fix null value that must be 0 into llx_mrp_production 2024-06-02 18:23:51 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
aa277f08e8 Fix migration 2024-05-29 17:11:43 +02:00
Laurent Destailleur
e2e96d4d75 Debug v20 2024-05-29 01:10:56 +02:00
daraelmin
5821a87ac3 Fix 18.0 - Update VAT for Switzerland (#29760)
VAT in Switzerland was increased on January 1, 2024.

See: https://www.estv.admin.ch/estv/fr/accueil/taxe-sur-la-valeur-ajoutee/taux-tva-suisse.html
2024-05-26 15:16:56 +02:00