Commit Graph

8457 Commits

Author SHA1 Message Date
ldestailleur
7b9b32cb9e Debug pgsql DDLInfoTable 2025-03-25 21:32:28 +01:00
ldestailleur
7522ee7693 Try fix travis 2025-03-25 18:17:25 +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
Laurent Destailleur
d9ab7c58d1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-21 12:13:59 +01:00
Laurent Destailleur
8616e23e31 Move the WAF code into a dedicated include file 2025-03-21 12:11:23 +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
Sandro Santilli
d935407ac3 Add mastodon icon and pixelfed record in social networks (#33525)
See GH-33378

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 17:18:50 +01:00
ldestailleur
330f2bd76b Complete #33525 2025-03-19 17:18:31 +01:00
ldestailleur
dc0a23509f Doc 2025-03-19 15:24:55 +01:00
Frédéric FRANCE
2bbb215da2 update fontawesome icon for mastodon (#33515)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 14:49:39 +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
66e14bb708 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 14:28:20 +01:00
ldestailleur
5c1f8b58c4 Merge 2025-03-19 14:23:19 +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
ldestailleur
b61bb3252e Doc 2025-03-19 11:32:37 +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
ldestailleur
f48536a419 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-15 11:11:20 +01:00
ldestailleur
8082c7bd96 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-15 10:57:53 +01:00
Eric - CAP-REL
bd846da9f5 fix missing alter table for tms auto update timestamp (#33452)
* fix missing alter table for tms auto update timestamp

* add tables renamed since 13.0
2025-03-15 10:56:24 +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
624e87bc51 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-14 17:24:52 +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
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
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
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
ldestailleur
e627c5b096 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-07 15:15:31 +01:00
ldestailleur
bd537993d1 Fix missing table 2025-03-07 13:11:35 +01:00
ldestailleur
2b97ee8d88 Trans 2025-03-07 11:53:15 +01:00
ldestailleur
d42f6dff0e Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-06 03:34:56 +01:00
ldestailleur
16418cfda6 Try a fix for migration error on bank line categories with postgres 2025-03-05 19:10:22 +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
6ae3500244 Corrections 2025-02-28 09:36:41 +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