Commit Graph

5984 Commits

Author SHA1 Message Date
Alexandre Janniaux
f7c9d4ecfc migration: 19.0→20.0: rename llx_commande_fournisseur_dispatch sequences #31228 (#33542)
Fix an issue after upgrading to 20.0.x with the backend saying that the
sequences llx_expeditiondet_batch_rowid_seq doesn't exist.

The table was somehow renamed, and migration fixed for PostgreSQL in
the following commits:

- 3670ba75ba: rename the table to match
  the intent of the table.
- 9913778da0: using VPGSQL comments to use
  a different RENAME function for PostgreSQL.
- d73d27466b: Using RENAME TO which is
  compatible with both PostgreSQL and MySQL.

But the sequence was still a leftover after those migrations.

Co-authored-by: Alexis Thietard
Co-authored-by: Geoffrey Mellar

Fixes #31228
2025-03-20 08:56:47 +01:00
ldestailleur
bb719f73cf Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-03-19 14:19:01 +01:00
ldestailleur
1ab438d62e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-03-19 14:17:37 +01:00
Eric - CAP-REL
b256c9aaba fix missing alter table for tms auto update timestamp (#33451)
* fix missing alter table for tms auto update timestamp

* two tables was renamed 13.0 -> 16.0
2025-03-15 10:55:17 +01:00
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)
885235d963 Trans 2024-12-24 00:11:56 +01:00
Laurent Destailleur (aka Eldy)
fb11f6114d Disable to avoid duplicated feature 2024-12-24 00:03:11 +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
86d3352332 Fix delete project when mrp module never enabled 2024-10-18 23:23:03 +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
beee24d24d Doc 2024-09-15 23:02:56 +02:00
Laurent Destailleur
3a4e2c2bcf Debug v20 - Fix sql 2024-09-13 16:36:11 +02:00
Laurent Destailleur
62427cf8a2 Fix sql error 2024-09-13 14:49:50 +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
8f1ef39976 Fix duplicate column name 2024-08-17 15:49:33 +02:00
Hasanuzzaman Sattar
63f43ad61e Fix for issue #30531 (#30532)
* issue#30513

* FIX#30531
2024-08-02 14:53:39 +02:00
Laurent Destailleur
534570a85b Disable deprecated entry 2024-08-01 13:39:27 +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
902065406b Debug v20 2024-06-27 09:20:04 +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