Commit graph

135517 commits

Author SHA1 Message Date
Mohamed DAOUD
87a5a2ca12
Fix warnings technical debt (#29907)
* fix warning

* Technical debt

* fix
2024-06-08 19:48:16 +02:00
Laurent Destailleur
b40bf1b768 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-08 19:38:31 +02:00
Laurent Destailleur
09ee64c154 FIX #29915 Better fix to show full path of category in multiselect mode. 2024-06-08 19:36:15 +02:00
Aloïs Micard
0cfd16d8db
Allow tweaking of the index that MySQL use when searching products (#29934)
* Allow tweaking of the index that MySQL use when searching products

Sometimes when working with large dataset with many entities the MySQL engine does not pick-up the right index.
This is especially true when doing a search over the reference because the LIKE '%%' prevent the uk_product_label from being chosen.

This PR aims to improve this situation by doing the following :

- Adding a simple index on entity column.
- Adding an hidden constant to force the index being used when searching products.

Performances over a 8M products dataset shows a reduction of 2/3 execution time.

* Add missing global $conf

* Fix wrong usage of getDolGlobalString()

* Finalise fix

* Add more indexes

* Rework indexes
2024-06-08 19:35:28 +02:00
Laurent Destailleur
3c961263cb Look and feel v20 2024-06-08 19:34:54 +02:00
Anthony Damhet
f0ccd63ed4
Add llxHeader to reception (#29935) 2024-06-08 18:53:19 +02:00
HENRY Florian
b155370957
fix: #29909 (#29910)
* fix: #29909

* reveiw
2024-06-08 17:04:35 +02:00
atm-lena
290af578aa
New llx header body css admin part2 (#29933)
* llxHeader CSSBody - admin part 2

* clean

* Fix param llxHeader

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 17:03:08 +02:00
Frédéric FRANCE
1ff0e8a821
fix an old error (#29850)
* fix an old error

* fix OdfException is never thrown in the try block

* fix OdfException is never thrown in the try block

* fix Undefined array key "name"

* fix missing translation

* fix missing translation

* fix Undefined variable $lineid

* fix warnings

* fix upload dir

* fix phpcs
2024-06-08 16:59:40 +02:00
lamrani abdelwadoud
53f8b7693e
Fix delete linked files for ticket and Don (#29929) 2024-06-08 15:04:18 +02:00
atm-lena
f40a1bd3b1
llxHeader CSSBody - user (#29926)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 15:02:50 +02:00
Frédéric FRANCE
7e97c6f46c
Update mails.lang fix pre-commit (#29927) 2024-06-08 14:54:09 +02:00
Frédéric FRANCE
00161fba9a
fix phpstan Expression "'@phan-var string[] $prim%.... (#29928) 2024-06-08 14:53:46 +02:00
atm-lena
8363d610de
llxHeader CSSBody - admin part 1 (#29930)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 14:53:14 +02:00
Lucas Marcouiller
d63687da6d
Fix dol_escape_htmltag to prevent bad strip of char (#29931)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-08 14:51:32 +02:00
Anthony Damhet
61c9245498
Add llxHeader to tickets (#29932) 2024-06-08 14:50:14 +02:00
boudet jean pascal
02eb66d9f4
New user author modele fac rec (#29858)
* add conf  in fac_rec

* pre-commit

* Update facture.class.php

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

* Update facture.class.php

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

---------

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 12:37:07 +02:00
iouston
9bc01b41c1
remove warning phpstan (#29866)
Property ActionComm::$libelle is unused.
Is it deliberate to keep this property depreciated?
2024-06-08 12:33:10 +02:00
Vincent Maury
3d6e00fb07
Clean expedition list code (#29868)
* Clean expedition list code (replace $shiment by $object in list table where both were used)

* Clean expedition list code (replace $shiment by $object in list table where both were used)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 12:17:06 +02:00
Lucas Marcouiller
f6e00ac0b2
Fix email colllector collection to add date in meta data description (#29920)
* Fix email colllector collection to add date in meta data description

* Update emailcollector.class.php

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 12:06:42 +02:00
Anthony Damhet
c604c005d3
Add llxHeader body css for resource (#29924) 2024-06-08 12:03:31 +02:00
atm-lena
4d0e252294
llxHeader : bodycsss product - others part (#29918)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 12:02:25 +02:00
Frédéric FRANCE
dfe5e7e67f
remove deprecated handler no more needed (#29919) 2024-06-08 12:02:12 +02:00
Charlène Benke
c8c220a394
FIX : create mrp table if enabled (#29921)
* create mrp table if enabled

* Update modMrp.class.php
2024-06-08 12:00:58 +02:00
Frédéric FRANCE
84491bfbdd
fix inline images with swiftmailer (#29923) 2024-06-08 12:00:23 +02:00
HENRY Florian
bcf7354ad6
fix: cookie JS creation missing defaut attribute SameSite (#29862)
* fix: cookie JS creation missing defaut setting

* fix: travis CI

* fix: travis CI

* fix: travis CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 02:49:57 +02:00
Maxime Kohlhaas
5c6061ec0a
NEW : add indexes on chargesociales table (#29911)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 02:34:58 +02:00
lamrani abdelwadoud
cd706aee5f
Fix type variable PHPStan (#29893)
* Fix type variable PHPStan

* fix phan

* Update modulebuilder.lib.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 01:23:01 +02:00
John BOTELLA
8991c58f4a
NEW : llxHeader body css for knowledgemanagement #27152 (#29867)
* Work on issue 26856 for knowledgemanagement

* Work on issue 26856 for knowledgemanagement

* Work on issue 26856 for knowledgemanagement

* Update htdocs/knowledgemanagement/knowledgerecord_list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 00:37:39 +02:00
HENRY Florian
ebab48ac0e
fix: fix SQL new install (#29861)
* fix: SQL fresh install script

* fix: SQL fresh install script

* fix perms files

* fix: travis CI

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 00:27:50 +02:00
Quentin-Seekness
522e861f4a
Add price (and multicurrency price) in arrayfields (#29869) 2024-06-08 00:08:59 +02:00
Mohamed DAOUD
275ef3ed43
fix warning (#29904)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-08 00:06:02 +02:00
Nicolas Domenech
f102488a68
Fix CSS class not used and deprecated in HTML 5 (#29880)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-07 23:52:06 +02:00
Thomas C
7721d68421
fix (#29873) 2024-06-07 23:35:34 +02:00
Laurent Destailleur
60d8513e69 Fix HTML5 2024-06-07 23:06:32 +02:00
Laurent Destailleur
d9c2e3810f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-07 23:04:29 +02:00
atm-lena
2795bf9648
New llx header body css product stats/stock (#29894)
* llxHeader : bodycsss product - stats part

* llxHeader : bodycsss product - stock part

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-07 23:03:27 +02:00
HENRY Florian
a932a4708c
fix: #29864, do not allow more than 1 serial in mass stock transfert (#29898) 2024-06-07 23:00:16 +02:00
Laurent Destailleur
f15d8c0545 Doc 2024-06-07 22:57:23 +02:00
Laurent Destailleur
a51b2cc766 Fix html 2024-06-07 18:48:45 +02:00
evarisk-charles
a878e92167
FIX: preview translation on pictures (#29887) (#29888) 2024-06-07 18:00:00 +02:00
Nicolas Domenech
886b76c207
Fix missing fichehalfleft div on productlot card (#29889) 2024-06-07 17:54:02 +02:00
HENRY Florian
e3d4299dde
fix: php warning undefined index (#29890) 2024-06-07 17:49:50 +02:00
atm-lena
bd861c6f14
llxHeader CSSBody - admin/card (#29891)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-07 17:48:51 +02:00
lamrani abdelwadoud
5eede37cb0
FIX checking if file was open (#29871) 2024-06-07 16:30:53 +02:00
Anthony Damhet
56290e2e4e
Add llxHeader body css for bom (#29875)
* Add llxHeader body css for bom

* remove comment

* Rename css class

* Add llxHeader body css for partnership
2024-06-07 16:27:56 +02:00
yledoare
e9973dceac
Make more checks when creating new availabilities (#29879)
* Bookcal : more date check

* fix phpcs warning

* No error if dateStartTimestamp not yet set
2024-06-07 16:24:52 +02:00
HENRY Florian
5142c9bfbb
fix: travis CI (#29883) 2024-06-07 16:18:34 +02:00
Lucas Marcouiller
71f875ce9d
Fix NewMessage in ticket class to use origin_replyto field (#29885)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-07 16:18:20 +02:00
Laurent Destailleur
60c8470d49 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-07 00:27:46 +02:00