Commit graph

135537 commits

Author SHA1 Message Date
Laurent Destailleur
e2f8d50082 CSS 2024-06-16 14:58:57 +02:00
Laurent Destailleur
048f7e360f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-09 17:37:13 +02:00
Laurent Destailleur
20bc8c39ac Fix warning when changing the setup 2024-06-09 17:35:05 +02:00
Florian Mortgat
7163299f04
NEW convenience methods for getting / setting the value of an extrafield (#29856)
* NEW convenience methods for getting / setting the value of an extrafield on an object

* Update htdocs/core/class/commonobject.class.php

[code formatting] removing extra space
2024-06-09 15:34:04 +02:00
Lucas Marcouiller
5a4d80a8e6
Fix display of non html messages in ticket/messaging.php (#29896)
* Fix display of non html messages in ticket/messaging.php

* Fix pr

* fix remaining nl2br

* add maildate

* fix conflict

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-09 15:23:39 +02:00
Maxime Kohlhaas
1c604036b2
FIX : test on button and action must be the same (#29944) 2024-06-09 15:05:29 +02:00
atm-lena
6ab6f72628
llxHeader CSSBody - bookmark (#29945)
* llxHeader CSSBody - bookmark

* admin_bookmark edit

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-09 14:59:03 +02:00
atm-lena
86ccdf929d
llxHeader CSSBody - barcode (#29946)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-09 14:58:54 +02:00
atm-lena
5ce5d4b9e2
llxHeader CSSBody - commande (#29947)
* llxHeader CSSBody - commande

* llxHeader BodyCss - delivery part

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-09 14:58:34 +02:00
Frédéric FRANCE
b76f2acedd
fix phpstan (#29948) 2024-06-09 14:58:07 +02:00
Frédéric FRANCE
35cf70aabf
fix phpstan level 4 (#29949)
Dead catch - OdfException is never thrown in the try block. method only throw SegmentException
2024-06-09 14:57:03 +02:00
Laurent Destailleur
f50d753ad5 Fix responsive 2024-06-09 14:06:16 +02:00
Zephyriony
2bfa92983c
NEW : Execute doActions on statistics pages (#29851)
* NEW : Execute doActions on statistics pages

* Update index.php

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-09 13:39:00 +02:00
Frédéric FRANCE
acd8fdc24e
fix phpstan level 4 (#29954)
* fix phpstan level 4

* fix phpstan level 4
2024-06-09 13:26:45 +02:00
atm-lena
5d5d1ea8c5
llxHeader BodyCss - takepos part (#29952)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-09 11:49:33 +02:00
atm-lena
74d8689f1b
llxHeader BodyCss - export part (#29950)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-09 11:49:18 +02:00
atm-lena
6bb90034ff
llxHeader - BodyCss - webhook/webservice/workstation (#29953)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-09 11:49:02 +02:00
HENRY Florian
baf1826f33
fix: Mass stock transfert display error message when something goes wrong (#29905)
* fix: check in MvtStockClass consistancy of serial batch quantity

* fix: check in MvtStockClass consistancy of serial batch quantity

* fix UI
2024-06-09 03:16:07 +02:00
Eric
000efd5221
Fix #29640: (#29939)
* FIX REPLENISH MANY FOURN WHEN ORDER ALREADY CREATE (#29710)

* fix restrictedArea on selectobject (#29882)

* Fix travis

* Fix : expense report reapproval email, wrong date format + missing parameter (#29874)

* delete_linked_contact is < 0 in case of error

---------

Co-authored-by: IC-Mathieu <95343351+IC-Mathieu@users.noreply.github.com>
Co-authored-by: Rémi Champlon <85104766+Kazimir42@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@users.sourceforge.net>
Co-authored-by: Maxime Kohlhaas <maxime@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-09 01:11:03 +02:00
Eric
3421352e7c
prefix and suffix core cleanup (#29938) 2024-06-09 00:50:40 +02:00
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