Commit Graph

144045 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
05b132be2c Clean dir of github actions 2025-03-19 17:41:31 +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
ldestailleur
065ac4571f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 15:54:36 +01:00
ldestailleur
435a03845f Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 15:54:23 +01:00
Frédéric FRANCE
fded6d7855 fix CI branch 21 (#33535) 2025-03-19 15:53:00 +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
acd82fcc4b Update tool versions in .pre-commit-config (#33494)
* Update tool versions in .pre-commit-config

# Update tool versions in .pre-commit-config

Update tool versions for pre-commit.
codespell is updated in #33493 .
Prettier was upgraded to 3.1.0 - higher versions are
not compatible with the normal pre-commit workflow apparently.

* Ignore notice from sqlfluff

Ignore LT14 - The 'WHERE' keyword should always start a new line.
2025-03-19 14:51:07 +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
f8a844bed9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 14:48:39 +01:00
ldestailleur
9a42a9348b Merge branch 'OPEN-DSI-develop_new_webhook_add_type_sql' into develop 2025-03-19 14:48:00 +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
github-actions[bot]
b5aa70c2c2 PHPStan > Update baseline (#33496)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-03-19 14:42:59 +01:00
ldestailleur
a3f3f28362 Fix warnings 2025-03-19 14:42:04 +01:00