2
0
forked from Wavyzz/dolibarr
Commit Graph

46 Commits

Author SHA1 Message Date
ldestailleur
7b9b32cb9e Debug pgsql DDLInfoTable 2025-03-25 21:32:28 +01:00
Benjamin Falière
c6d50cf46b NEW(mailing): Allow user to define the number of email sent by batch directly from mailing config page (#32750)
* 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>
2025-03-25 12:01:14 +01:00
lvessiller-opendsi
5ffcca92a6 NEW input reason for customer invoice (SQL) (#33569) 2025-03-24 01:20:50 +01:00
Alexandre Janniaux
7edba256e8 migration: 21→22: fix wrong type for value in llx_const #33554 (#33555)
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
2025-03-21 00:37:22 +01:00
ldestailleur
4ab64b0576 Fix sql 2025-03-19 18:06:49 +01:00
ldestailleur
330f2bd76b Complete #33525 2025-03-19 17:18:31 +01:00
ldestailleur
3bec92ccfd Merge branch 'develop_new_webhook_add_type_sql' of
github.com:OPEN-DSI/dolibarr into
OPEN-DSI-develop_new_webhook_add_type_sql
2025-03-19 14:47:34 +01:00
ldestailleur
debf628c60 Debug SQL 2025-03-19 11:31:06 +01:00
lvessiller-opendsi
81aca843ba NEW shipment kits with dispatcher v2 (SQL) (#26519)
* 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
2025-03-19 11:10:24 +01:00
Kamel Khelifa
20a57550d3 Add type column on webhook target table for determine if the trigger is blocking or not (and in the futur possibly asynchrone) 2025-03-17 14:52:32 +01:00
HENRY Florian
4fb4f9644c NEW: fix #33456 (#33458) 2025-03-15 12:06:39 +01:00
Laurent Destailleur
051a902f1f Revert "Revert "Reverse const STOCK_ALLOW_NEGATIVE_TRANSFER to STOCK_DISALLOW…" (#33454)
This reverts commit e943c9c97f.
2025-03-13 23:22:40 +01:00
Laurent Destailleur
e943c9c97f Revert "Reverse const STOCK_ALLOW_NEGATIVE_TRANSFER to STOCK_DISALLOW_NEGATIV…" (#33453)
This reverts commit d93e8e2978.
2025-03-13 23:17:02 +01:00
ThomasNgr-OpenDSI
d93e8e2978 Reverse const STOCK_ALLOW_NEGATIVE_TRANSFER to STOCK_DISALLOW_NEGATIVE_TRANSFER (#33444) 2025-03-13 23:15:04 +01:00
Frédéric FRANCE
a615275436 add date_creation on llx_session (#33429) 2025-03-12 20:44:47 +01:00
Alexandre SPANGARO
a3456bf182 NEW Accountancy - Add centralized account (SQL & migration part) (#33384)
* NEW Accountancy - Add centralized account (SQL & migration part)

* Better request SQL compatible pgsql
2025-03-12 19:14:45 +01:00
Jyhere
09a31362da FIX ; 21.0.0-22.0.0.sql sql error in some case
FIX the following error if Dolibarr first installed version was <= 3.5 : 
Cannot drop index 'uk_customer_price_fk_product_fk_soc': needed in a foreign key constraint
2025-03-03 11:27:48 +01:00
Jyhere
2003a5c263 FIX: migration file Update 21.0.0-22.0.0.sql syntax error
Fix the following DB errors when updating : 
DB_ERROR_SYNTAX (Req 70): ALTER TABLE llx_product_customer_price DROP CONSTRAINT fk_product_customer_price_fk_product;
DB_ERROR_SYNTAX (Req 71): ALTER TABLE llx_product_customer_price DROP CONSTRAINT fk_product_customer_price_fk_soc;
2025-03-03 10:54:19 +01:00
Laurent Destailleur
95cd3ebdda Merge pull request #33223 from OPEN-DSI/develop_new_customer_price_period_and_discount_sql
NEW: Add management of date begin/end and discount for a customer price (SQL)
2025-03-01 00:48:42 +01:00
Kamel Khelifa
6364b04073 Merge branch 'develop_new_customer_price_period_and_discount_sql' of github.com:OPEN-DSI/dolibarr into develop_new_customer_price_period_and_discount_sql 2025-02-28 09:35:05 +01:00
Kamel Khelifa
ddddb9ab81 Corrections 2025-02-28 09:34:33 +01:00
kkhelifa-opendsi
a3ed540280 Merge branch 'develop' into develop_new_customer_price_period_and_discount_sql 2025-02-28 09:08:39 +01:00
Regis Houssin
18b78a2e5a FIX missing sepa country + alphabetical order 2025-02-28 07:59:13 +01:00
Laurent Destailleur
b04a09a779 Merge branch 'develop' into extraparams-for-object-lines 2025-02-26 20:07:53 +01:00
yannis
e6cea6f321 Add extraparams for object lines 2025-02-26 15:12:17 +01:00
Irvine Fleith
e5373e73f7 feat(invoice-rec): new rule_for_lines_dates field - DB 2025-02-26 07:14:01 +01:00
Kamel Khelifa
7e4b20917c NEW: Add management of date begin/end and discount for a customer price (SQL) 2025-02-25 15:11:30 +01:00
x
c8b4f554fc fix error fk_bank_record 2025-02-24 11:58:48 +01:00
Laurent Destailleur
898acf1ff1 Merge pull request #33176 from FHenry/dev_bank_records_32617
new: add tables to prerapre bank records in Dolibarr
2025-02-21 17:58:02 +01:00
ldestailleur
a25f9a7e00 Add the SEPA column in dictionary 2025-02-21 16:07:07 +01:00
Florian HENRY
7c0c238812 new: add table to prerapre bank records in Dolibarr 2025-02-21 12:41:39 +01:00
ldestailleur
5de4d8a166 Standardize category tables 2025-02-17 14:02:39 +01:00
ldestailleur
fc96a88bd9 Standardize category tables 2025-02-17 14:01:16 +01:00
ldestailleur
8e411b3ead Standardize category tables 2025-02-17 13:59:59 +01:00
ldestailleur
9af5292cc3 Standardize category tables 2025-02-17 13:58:47 +01:00
ldestailleur
d800b721fd Standardize category tables 2025-02-17 13:52:52 +01:00
ldestailleur
3339ca0ed7 Standardize category tables 2025-02-17 13:45:16 +01:00
Frédéric FRANCE
262a07f5fa dict type contact 2025-01-29 09:25:23 +01:00
Frédéric FRANCE
40d8bea77e dict type contact 2025-01-29 09:14:13 +01:00
Noé Cendrier
758f1398a8 FIX: float is not int 2025-01-28 15:37:32 +01:00
Mélina JOUM
cb18ba20d4 ADD: packaging column for product 2025-01-21 15:38:10 +01:00
Laurent Destailleur (aka Eldy)
6f26816185 Migration 2025-01-16 14:02:43 +01:00
Laurent Destailleur (aka Eldy)
b178466577 Fix migration 2025-01-13 00:08:36 +01:00
Laurent Destailleur (aka Eldy)
7c3b92e02b NEW Add ip into table of website accounts 2025-01-10 13:04:12 +01:00
Laurent Destailleur (aka Eldy)
cbd677040e Port #32544 in develop 2025-01-06 16:36:10 +01:00
Laurent Destailleur (aka Eldy)
716c89219b Prepare v22 2025-01-05 18:04:56 +01:00