Commit Graph

8675 Commits

Author SHA1 Message Date
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
cd5a645acc Fix move default number to neon, argon has critical bug to fix first. 2025-04-05 14:09:47 +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
91fa444129 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-04-01 22:42:32 +02:00
ldestailleur
8e88532c3e Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-04-01 21:07:20 +02:00
ldestailleur
514e367d94 Rename constant 2025-04-01 20:46:31 +02:00
ldestailleur
21b5eb7b82 Debug migrate using the database flag 2025-04-01 20:45:46 +02:00
ldestailleur
de75d13c7a Use a database flag 2025-04-01 20:36:55 +02:00
Marc de Lima Lucio
5832f1807c FIX: invoice export models are incorrect after 20.0 migration (#33688)
* FIX: shift export models at upgrade

* FIX: 20.0 invoice export model mogrations: place lock in root of data dir
2025-04-01 20:29:06 +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
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
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
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