2
0
forked from Wavyzz/dolibarr
Commit Graph

72 Commits

Author SHA1 Message Date
Frédéric FRANCE
ebca8345b0 add tables missing (#35628)
* add tables missing

* add tables missing

* add tables missing

* add tables missing

* add tables missing

* add tables missing

* Update 22.0.0-23.0.0.sql
2025-10-04 00:08:32 +02:00
ldestailleur
0140d1e7cb Clean SQL 2025-09-05 16:18:06 +02:00
ldestailleur
49b9a6d19f Fix upgrade to v22 2025-08-04 15:08:35 +02:00
sonikf
59834cb1e2 FIX English names and add missing sepa countries (#34840)
* FIX English names and add missing sepa countries

* Update 21.0.0-22.0.0.sql add missing sepa countries

* Update 21.0.0-22.0.0.sql

* Intra-community VAT rules apply for 'MC' Monaco
2025-07-31 21:54:49 +02:00
Lucas Marcouiller
659f758d61 Fix table webhook history (#34737)
* Fix name of option for supplier

* Update functions.lib.php (#34718)

Add __MYCOMPANY_URL__ & __MYCOMPANY_PHONEMOBILE__ in getCommonSubstitutionArray

* Fix bad value  fourn paiement process (#34722)

* Fix bad value  fourn paiement process

* best fix

* fix takepos console error (#34709)

* fix console error

* exit early

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Fix CI

* Clean code

* Fix table wenhook history

---------

Co-authored-by: ldestailleur <eldy@destailleur.fr>
Co-authored-by: Deefaze <6393617+Deefaze@users.noreply.github.com>
Co-authored-by: Francis Appels <francis.appels@yahoo.com>
2025-07-15 06:13:10 +02:00
ldestailleur
115afbbb76 Add critical info into unalterable log to help debug
FIX: Must be able to filter on signature.
2025-06-23 14:04:36 +02:00
ldestailleur
a23580f785 Fix code of event 2025-06-20 12:23:53 +02:00
Marc de Lima Lucio
10f41b23d4 FIX: manufacturing orders: missing extraparams field (#34471) 2025-06-13 23:57:11 +02:00
sonikf
7322b9cd93 NEW Add option to create simple shipment of non origin. SQL part (#34071)
* NEW Add description

* NEW Add description in llx_expeditiondet
2025-05-06 22:12:43 +02:00
ldestailleur
0136a794c9 Add a new page type "Setup" for website module. 2025-05-06 12:52:31 +02:00
ThomasNgr-OpenDSI
149bb14202 NEW Move right from advance to normal for thirdparty information payment page (#33885)d
Co-authored-by: Alexandre SPANGARO <aspangaro.dolibarr@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-26 21:23:08 +02:00
ldestailleur
bc58523888 NEW Add field usenewcurrencyrate 2025-04-25 04:26:33 +02:00
Mohamed DAOUD
6c96283434 donation ip protection (#33972)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-04-24 20:07:12 +02:00
Frédéric FRANCE
0fbd8e737e align size of phone fields with socpeople size (#33813)
* align size of phone fields with socpeople size

* add migration
2025-04-20 00:49:54 +02:00
ldestailleur
bdb82ef856 Complete #33894 2025-04-18 13:12:20 +02:00
ldestailleur
6746b37fc4 Add field CCI 2025-04-16 19:09:30 +02:00
ldestailleur
0b4bc03236 Update migration file 2025-04-16 17:58:13 +02:00
Alexandre SPANGARO
ab0ce1d645 Review of module asset (#33847)
* Fixed Asset - Update translation of the module

* Fix asset create name

* Fix ref field

* Update module Asset

* Fix CI

* Fix CI

* Fix comment
2025-04-15 17:21:45 +02:00
Laurent Destailleur
25d7c47ce3 WIP Enhance menu editor with showtopmenuinframe 2025-04-07 05:47:47 +02:00
ldestailleur
59a20762c7 WIP add extrafield param aiprompt 2025-04-06 20:59:14 +02:00
ldestailleur
d97ebb9a33 Fix trouble in migrationon. Fix pb with large database 2025-04-05 13:37:21 +02:00
ldestailleur
546969e77a Try a better fix for #33699 2025-04-02 19:20:18 +02:00
Jyhere
e35c59a4d8 GIFF-Accountancy-2025 - Automatic numbering of accounting entries (#33551)
* NEW: ref with configurable numbering models for Bookkeeping

* FIX: bookkeeping tooltip empty ref depending the list

* FIX: bookkeeping ref numbering missing translations and typo

* NEW: free ref num model for bookkeeping

* Update mod_bookkeeping_argon.php

* FIX: ci

* FIX: replace mistake, removed not necessary ternary

* FIX: phan error and prefix check

* FIX: phan error

* FIX: missing ref column in llx_accounting_bookkeeping_tmp.sql

* CHANGE: use default function getDolGlobalInt(,  = 0)
() param instead of ternary

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-31 11:35:18 +02:00
Florian Mortgat
c9ecc5dfad Remove deprecated columns price_ht and remise from llx_contratdet (#33616)
* [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)
2025-03-29 17:25:00 +01:00
Alexandre SPANGARO
ffbcd11b68 NEW Accountancy - Centralized account are highlighted (#33648)
* Complete migration for centralized accounts

* Fix display error on centralized account

* NEW update function select_account for centralized account

* FIX CI
2025-03-29 17:20:00 +01:00
ldestailleur
9e0d637491 Prepare 3 mode for payments pages 2025-03-28 16:32:54 +01:00
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