Commit Graph

128047 Commits

Author SHA1 Message Date
Pierre Ardoin
c8f38ef97c Add hidden option SUPPLIER_PROPOSAL_AUTOADD_USER_CONTACT (#33524)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 19:18:16 +01:00
ldestailleur
f92f159b78 Doc 2025-03-19 18:28:26 +01:00
ldestailleur
fd18506c86 Debug v22 Try to make code simpler. 2025-03-19 18:16:54 +01:00
ldestailleur
a9dc0a63e8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 18:12:15 +01:00
ThomasNgr-OpenDSI
643564d45c add advanced right to reopen a propal (#33416)
* add advanced right to reopen a propal

* use NOT insetad of empty() for getDolGlobalBool()

* fix travis
2025-03-19 18:12:02 +01:00
ldestailleur
d65e525f97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 18:07:02 +01:00
ldestailleur
4ab64b0576 Fix sql 2025-03-19 18:06:49 +01:00
omogenot
070072e660 Add extra import contact key fields (#33528)
During company contact import, to distinguish between two contacts with same name, use extra key fields such as Zip code or email, so that a new contact with same name can be inserted.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 18:02:45 +01:00
Clément
9d25e2cd58 Hook doAction on statistics pages (#33532)
* Hook doAction on statistics pages

* Hook doAction on statistics pages

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 18:02:28 +01:00
ldestailleur
36e694e158 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 18:00:38 +01:00
ldestailleur
c58e3a3b0d Fix ignore phpstan 2025-03-19 18:00:28 +01:00
Clément
47d001d2ff FIX Bug Reception stats (#33531)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 17:50:22 +01:00
ldestailleur
5555009d7b Condition is cleaner, even if same. 2025-03-19 17:48:05 +01:00
ldestailleur
0bb37047be Condition is cleaner, even if same. 2025-03-19 17:47:42 +01:00
ldestailleur
59233693c1 Fix phan 2025-03-19 17:28:28 +01:00
kkhelifa-opendsi
8a6ebfeb3f FIX: Fix case when INVOICE_RETAINED_WARRANTY_LIMITED_TO_FINAL_SITUATION for sell journal (#33518) 2025-03-19 17:25:50 +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
b964068f03 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 17:17:07 +01:00
ldestailleur
a9234d6e92 Trans 2025-03-19 17:16:53 +01:00
Frédéric FRANCE
44c0c6ed2f List db sessions (#33410)
* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* list sessions in db

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean sessions

* clean sessions

* fix
2025-03-19 16:22:09 +01:00
ldestailleur
9b2913e144 Fix false positive 2025-03-19 16:19:27 +01:00
ldestailleur
c471f6b900 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-03-19 16:04:50 +01:00
ldestailleur
a8529cf1a2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 16:04:21 +01:00
HENRY Florian
8f2ad4bf87 NEW: Add Shared links on links in attachements (#33459)
* NEW: add share option for URL link in attachement

* NEW: fix #33456

* NEW: shared link on links

* NEW: shared link on links

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 16:04:11 +01:00
ldestailleur
58509095ba Trans 2025-03-19 16:01:25 +01:00
Vaadasch
6e381671ff FIX: PRODUIT_AUTOFILL_DESC works even if line_desc is empty. Removing MAIN_NO_CONCAT_DESCRIPTION (#33489)
La variable MAIN_NO_CONCAT_DESCRIPTION est redondante avec PRODUIT_AUTOFILL_DESC.
Cette redondance créée une difficulté de compréhension et des effets de bord, principalement lorsqu'un utilisateur souhaite mettre une description à vide.

# Confirmation de la redondance de MAIN_NO_CONCAT_DESCRIPTION
Pour confirmation : Ajout de lignes de débug pour constatation.
Lignes 1116 à 1122 de DOL_ROOT/core/class/conf.class.php
```php
			print "<p>Before : PRODUIT_AUTOFILL_DESC = " . $this->global->PRODUIT_AUTOFILL_DESC . " ; MAIN_NO_CONCAT_DESCRIPTION = ".$this->global->MAIN_NO_CONCAT_DESCRIPTION . "</p>";
            if (!empty($this->global->PRODUIT_AUTOFILL_DESC)) {
                $this->global->MAIN_NO_CONCAT_DESCRIPTION = 1;
            } else {
                unset($this->global->MAIN_NO_CONCAT_DESCRIPTION);
            }
            print "<p>After : PRODUIT_AUTOFILL_DESC = " . $this->global->PRODUIT_AUTOFILL_DESC . " ; MAIN_NO_CONCAT_DESCRIPTION = ".$this->global->MAIN_NO_CONCAT_DESCRIPTION . "</p>";
```
Application d'une valeur à MAIN_NO_CONCAT_DESCRIPTION = 4 depuis l'interface Configuration -> Divers.
Modification de la variable PRODUIT_AUTOFILL_DESC par l'interface d'admin du module Produit :
```
Before : PRODUIT_AUTOFILL_DESC = 0 ; MAIN_NO_CONCAT_DESCRIPTION = 4
After : PRODUIT_AUTOFILL_DESC = 0 ; MAIN_NO_CONCAT_DESCRIPTION =
```
```
Before : PRODUIT_AUTOFILL_DESC = 1 ; MAIN_NO_CONCAT_DESCRIPTION = 4
After : PRODUIT_AUTOFILL_DESC = 1 ; MAIN_NO_CONCAT_DESCRIPTION = 1
```
```
Before : PRODUIT_AUTOFILL_DESC = 2 ; MAIN_NO_CONCAT_DESCRIPTION = 4
After : PRODUIT_AUTOFILL_DESC = 2 ; MAIN_NO_CONCAT_DESCRIPTION = 1
```

# Conservation de la valeur dans conf.class.php
Pour des raisons de compatibilités, je pense qu'il vaut mieux laisser la partie de conf.class.php pour définir la valeur si jamais il y a des modules tiers qui l'utilisent.

En dehors de cet usage de rétrocompatibilité, je suis passé sur tous les autres fichiers pour la retirer. Je modifierai le wiki pour l'en retirer aussi une fois la PR intégrée.

# Modification des card.php
## Modification de $product_desc en $line_desc.
L'utilisation de $product_desc laissait supposer que le contenu de cette variable était récupérée de la description renseignée dans le produit, or elle est en réalité récupérée du formulaire envoyé.
Je l'ai donc modifiée pour correspondre davantage à la réalité.
## Comportement
Dans le cas où PRODUIT_AUTOFILL_DESC == 0, on concatene la $line_desc avec la description issue du produit, récupérée préalablement par $desc

Co-authored-by: Arnaud Serrut <arnaud.serrut@gmail.com>
2025-03-19 15:50:07 +01:00
ldestailleur
9e7341ed1b Complete #33489 2025-03-19 15:46:39 +01:00
ldestailleur
4a1d31d2b9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 15:25:13 +01:00
ldestailleur
dc0a23509f Doc 2025-03-19 15:24:55 +01:00
kkhelifa-opendsi
8275627d4e Add "Type" on webhook target card for determine if the trigger is blocking or not (and in the futur possibly asynchrone) (#33499) 2025-03-19 15:24:18 +01:00
MDW
8669993ecf Qual: Fix phan notices (compta/prel..fichinter) (#33485)
* Qual: Fix phan notices (asset..compta/paiement)

* Qual: Fix phan notices (compta/prel..fichinter)
2025-03-19 15:21:48 +01:00
ldestailleur
39c2de721a Fix warnings 2025-03-19 15:17:34 +01:00
ldestailleur
bfcc8449c8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 15:15:22 +01:00
ldestailleur
7098a8e611 Fix warnings 2025-03-19 15:14:33 +01:00
kkhelifa-opendsi
935d93266e FIX: Fix download shared document when for exemple the thirdparty is shared and we create the thirdpaty on entity 1 but generate and share a document from entity 2 (#33507) 2025-03-19 14:57:31 +01:00
kkhelifa-opendsi
ce138c1b3e FIX: Always show message if accountancy hidden options are activated to help to resolve some problems (#33512) 2025-03-19 14:52:43 +01:00
MDW
c9804cf6be Qual: Update codespell to 2.4.1 + fix spelling (#33493)
# Qual: Update codespell to 2.4.1 + fix spelling

Update codespell version in pre-commit configuration,
fix new codespell notices
2025-03-19 14:50:44 +01:00
Frédéric FRANCE
e804098a4d add missing translations (#33492)
* add missing translations

* add missing translations

* add missing translations

* add missing translations

* add missing translations
2025-03-19 14:50:19 +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
a3f3f28362 Fix warnings 2025-03-19 14:42:04 +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
63e46fbc8d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 14:19:12 +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
d0242ad032 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 14:15:23 +01:00
Vincent Quintin
7c3aa76fc8 Fix: Correct search_fk_statut=openall (#33523) 2025-03-19 14:14:33 +01:00
kkhelifa-opendsi
f3b146a1ab FIX: Need missing translation file in result index page of accountancy repport (#33527) 2025-03-19 14:10:44 +01:00