* [breaking change] Remove deprecated columns `price_ht` and `remise` from llx_contratdet and corresponding class properties
* FIX: remove references to deleted field `price_ht` from module
descriptor (exports)
* Complete migration for centralized accounts
* Fix display error on centralized account
* NEW update function select_account for centralized account
* FIX CI
* NEW(mailing): Allow user to define the number of email sent by batch
* FIX: incompatibility with conf.php fie
* DEL: MAILING_LIMIT_SENDBYWEB constant from const.php page
* Define the const for all entities instead of specific entity
* Remove note
---------
Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
llx_const.value is a string and using it as an int triggers the following
errors when using a PostgreSQL database.
Erreur DB_ERROR_42883 (Req 83): INSERT INTO llx_const (name, entity, value, type, visible, note) SELECT DISTINCT 'STOCK_DISALLOW_NEGATIVE_TRANSFER', entity, 1, 'chaine', 0, '' FROM llx_const c1 WHERE NOT EXISTS (SELECT rowid FROM llx_const c2 WHERE c2.name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND c2.value = 1 AND c2.entity = c1.entity);ERROR: 42883: operator does not exist: text = integer LINE 1: ...me = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND c2.value = 1 AND c2... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. LOCATION: op_error, parse_oper.c:635
--
Erreur DB_ERROR_42883 (Req 84): UPDATE llx_const SET name = 'STOCK_DISALLOW_NEGATIVE_TRANSFER', value = 1 WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 0;ERROR: 42883: operator does not exist: text = integer LINE 1: ... WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 0; ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. LOCATION: op_error, parse_oper.c:635
Erreur DB_ERROR_42883 (Req 85): DELETE FROM llx_const WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 1;ERROR: 42883: operator does not exist: text = integer LINE 1: ... WHERE name = 'STOCK_ALLOW_NEGATIVE_TRANSFER' AND value = 1; ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. LOCATION: op_error, parse_oper.c:635
Fixes#33554
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
* NEW shipment kits with dispatcher v2 (SQL)
* Format sql comment
* NEW structure database for virtual products
* Remove expedition det dispatcher tables
* Update from develop
* Remove break line on sql migration file
* Update left join for compatibility with Postgresql
* Fix SQL join first table
* Migration SQL for kits in v22