2
0
forked from Wavyzz/dolibarr
Commit Graph

129126 Commits

Author SHA1 Message Date
ldestailleur
aa78344615 Fix trans 2025-03-20 18:39:54 +01:00
Christophe Battarel
7eb6a9e455 fix buy price (#33552)
Co-authored-by: Christophe Battarel <christophe@altairis.fr>
2025-03-20 18:33:57 +01:00
John BOTELLA
92baf3faa9 Fix : MAIN_SEARCH_PRODUCT_BY_FOURN_REF search critera (#33550) 2025-03-20 18:32:49 +01:00
ldestailleur
410738085a Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-03-20 13:55:35 +01:00
ldestailleur
ae13ad70ae FIX Responsive 2025-03-20 13:55:19 +01:00
ldestailleur
2426a50cba Fix CSS and td balance 2025-03-20 13:31:52 +01:00
ldestailleur
db7a2ce4d5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-20 12:01:43 +01:00
ldestailleur
9a851ce488 Debug v22 2025-03-20 12:01:29 +01:00
ldestailleur
bb3989c9a7 NEW The signature is on the good page even if another module add pages 2025-03-20 12:01:18 +01:00
ldestailleur
c3f46bd2e0 Fix accent on tooltip 2025-03-20 09:53:01 +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
Pierre Ardoin
841a109cdb FIX Sort and search Ref Project column was missing (#33539)
* FIX Sort and search Ref Project column was missing

* Remove White space
2025-03-20 08:55:58 +01:00
Laurent Destailleur
8c5ae9fa0e Fix duplicate calendar of bookcal module in aganda view 2025-03-20 03:39:11 +01:00
Laurent Destailleur
ff3f39c18a Fix duplicate entry of bookcal calendar selection in agenda view. 2025-03-20 03:36:12 +01:00
Laurent Destailleur
278ae6c597 Fix fatal error when var is array 2025-03-20 03:34:23 +01:00
Laurent Destailleur
f7145ea4d3 Fix POS has some product unvisible when using smartphone 2025-03-20 02:52:12 +01:00
Laurent Destailleur
88c41d4970 Remove verbose log 2025-03-20 02:49:35 +01:00
Laurent Destailleur
776ce2d029 Fix name of funcion 2025-03-20 02:47:37 +01:00
Laurent Destailleur
dad235f6d9 Fix POS has some product unvisible when using smartphone 2025-03-20 02:45:36 +01:00
Laurent Destailleur
996dacbd50 Fix POS has some product unvisible when using smartphone 2025-03-20 02:39:21 +01:00
Laurent Destailleur
54e3f2932d Fix function name 2025-03-19 23:34:14 +01:00
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
ef159f919e Backport fix in v20 #33536 2025-03-19 16:10:25 +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
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