Commit Graph

4362 Commits

Author SHA1 Message Date
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
Laurent Destailleur
c724800a05 Fix permission on conf.php file 2025-05-20 22:01:00 +02:00
Laurent Destailleur
a4657bbbf8 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-05-20 21:59:28 +02:00
Laurent Destailleur
08868566da Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-20 21:59:02 +02:00
Marc de Lima Lucio
aa93bf3f31 FIX: pgsql: boolean fields correctly defined in creation but not in migration (#34215) 2025-05-20 20:36:51 +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
ldestailleur
2736a4b382 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-05-05 00:07:09 +02:00
ldestailleur
a74979bc04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-05-05 00:04:17 +02:00
ldestailleur
d85cea32c0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-05-05 00:03:49 +02:00
ldestailleur
f70cfeb6d3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-05-05 00:03:09 +02:00
Marc de Lima Lucio
0ef0d339b5 FIX: pgsql: error when creating sequences in migration scripts (#34021)
* FIX: pgsql: error in migration from 15 to 16

* FIX: pgsql: error in migration from 7 to 8
2025-05-04 11:26:34 +02:00
Marc de Lima Lucio
9eaa8ad1d3 FIX: accountancy: create new french PCG25-DEV accounting system in upgrade (#34036) 2025-05-04 10:46:56 +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
9873a98c36 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-26 20:17:39 +02:00
ldestailleur
cf24f34947 Fix SQL 2025-04-25 17:26:17 +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
ldestailleur
6c8ae0b2a6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-31 16:28:08 +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
ldestailleur
533ca31814 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-29 17:32:45 +01: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
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
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
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
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