Commit Graph

4158 Commits

Author SHA1 Message Date
ldestailleur
3c4c5f1c75 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-14 12:33:40 +01:00
ldestailleur
681b20f09e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-03-14 12:32:56 +01:00
ldestailleur
4897c9de7f Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-03-14 12:20:56 +01:00
ldestailleur
2058d572d9 Merge branch '16.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2025-03-14 12:17:06 +01:00
ldestailleur
089fab828b Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2025-03-14 12:14:10 +01:00
ldestailleur
5b9453e302 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2025-03-14 11:28:33 +01:00
ldestailleur
d81a2d060e Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2025-03-14 11:27:49 +01:00
Eric - CAP-REL
97aaff7395 13.0 fix migration missing tms auto update (#33443)
* tms field in llx_product is not updated to default timestamp

* but that's not the only one ...
2025-03-13 23:01:52 +01:00
Frédéric FRANCE
53ec7e48d1 fix comments 2025-01-24 09:59:02 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Alexandre Janniaux
b02742ebe1 FIX #32178: repair.php: fix missing 'as' with Postgres (#32179)
Fix the following SQL error when executing the repair script on 19.0.x
and above.

        Error DB_ERROR_SYNTAX (Req 159): create table tmp_bank_url_expense_user (select e.fk_user_author, bu2.fk_bank from llx_expensereport as e, llx_bank_url as bu2 where bu2.url_id = e.rowid and bu2.type = 'payment_expensereport');
        ERROR: 42601: syntax error at or near "select" LINE 1: create table tmp_bank_url_expense_user (select e.fk_user_aut... ^ LOCATION: scanner_yyerror, scan.l:1145
2024-12-01 23:03:08 +01:00
Laurent Destailleur
c907327e3c Fix removed foreign key not on a unique key 2024-11-21 09:08:54 +01:00
Marc de Lima Lucio
da70b46647 FIX: asset: missing ref_ext field used in CommonObject::isExistingObject() (#31870) 2024-11-17 01:43:43 +01:00
thomas-Ngr
9374a31b33 Fix const INVOICE_USE_RETAINED_WARRANTY (#30533)
* Fix const INVOICE_USE_RETAINED_WARRANTY being set as -1 when it should be empty

* fix missing translation

* fix missing translation

* Manage update for INVOICE_USE_RETAINED_WARRANTY

* use native setAsSelect() form function
2024-11-07 05:14:07 +01:00
Laurent Destailleur
46b80e85d4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-05 17:29:08 +01:00
Laurent Destailleur
56925afe8e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-05 17:16:01 +01:00
thomas-Ngr
c396a08cb2 fix const WORKFLOW_RECEPTION_CLASSIFY_CLOSED_INVOICE (#31601)
* rename const WORKFLOW_EXPEDITION_CLASSIFY_CLOSED_INVOICE to WORKFLOW_RECEPTION_CLASSIFY_CLOSED_INVOICE

* edit wrong SQL erquest
2024-10-29 17:34:30 +01:00
Laurent Destailleur
a17d26665c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-24 20:08:28 +02:00
Laurent Destailleur
0ed4c9f8e7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-24 19:59:03 +02:00
Laurent Destailleur
d9d0618eec Fix avoid unexpected deletion on accounting account when using multicompany 2024-10-24 03:06:23 +02:00
Laurent Destailleur
4f71729311 Fix missing migration on model_pdf 2024-10-17 18:17:12 +02:00
Laurent Destailleur
ae2ceccc5b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-26 03:44:09 +02:00
Laurent Destailleur
55bd7a33a4 Fix migration 12-13 2024-09-24 16:29:53 +02:00
Laurent Destailleur
bd04568799 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-07 02:18:33 +02:00
Laurent Destailleur
8ca5a0edc6 Fix for non utf8 tables 2024-09-05 12:01:58 +02:00
Laurent Destailleur
aa096719b2 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-02 11:18:06 +02:00
Laurent Destailleur
fed229c984 To get a fix publish late in v19 working in v20 2024-09-01 15:16:10 +02:00
boudet jean pascal
10924547ea FIX : attached file on first page load (#30694)
* fix attached file on first page load

* PRE-COMMIT

* set mode init

* Update 18.0.0-19.0.0.sql

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

---------

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-01 15:13:53 +02:00
Laurent Destailleur
f82eabbab7 FIX #30513 FIX #30515 2024-08-01 10:48:17 +02:00
Regis Houssin
7be611deb7 FIX Erreur SQL DB_ERROR_1170 BLOB/TEXT column 'url' used in key (#30479)
specification without a key length
2024-07-27 12:37:58 +02:00
Laurent Destailleur
fa700074c9 Fix missing migration due to bad table name in previous versions 2024-07-26 13:31:44 +02:00
HENRY Florian
c7f5be1523 fix: bad table on add column (#30449)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-07-25 14:30:46 +02:00
Regis Houssin
a1ed02fa6d Fix 20 missing entity filter (#30466)
* FIX missing entity filter for holiday types dict

* FIX wrong table name for field name

* FIX wrong table name (travis error)
2024-07-25 14:30:07 +02:00
Regis Houssin
f7fff4aae7 FIX missing entity field in holiday types dict (#30392)
* FIX missing entity field in holiday types dict

* FIX sql syntax error
2024-07-16 13:36:49 +02:00
Laurent Destailleur
fff875c9e3 Fix bad length for url field for menus 2024-07-15 17:18:43 +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
Frédéric FRANCE
ba461fa2e7 fix migration19.0.0-20.0.0.sql (#30126) 2024-06-22 15:31:33 +02:00
Laurent Destailleur
4b0579366e Fix missing column entity 2024-06-20 15:05:03 +02:00
Laurent Destailleur
3119a29a50 Close #30083 in develop for v20 2024-06-19 14:39:15 +02:00
Laurent Destailleur
564757d379 Missing index 2024-06-16 12:33:28 +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
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
aa277f08e8 Fix migration 2024-05-29 17:11:43 +02:00
jyhere
90eb4ad840 FIX: Db error cannot add foreign key constraint on societe_commerciaux table (#29706) 2024-05-21 18:01:13 +02:00