Commit graph

151292 commits

Author SHA1 Message Date
Mathieu Moulin
abcb1dad4b
Define CommonObject relation in CommonObjectLine classes (#29956) 2024-06-10 16:08:39 +02:00
Vincent de Grandpré
288e08a2e3
FIX#29958 - Evaluation of the enablement condition of an extrafield to add it to list of fields (#29960)
* evaluation the enablement condition of an extrafield to add it in the extrafield list array generation

* typo
2024-06-10 16:02:50 +02:00
Laurent Destailleur
1d07e2a36b css 2024-06-10 15:01:45 +02:00
boudet jean pascal
0fa6cd7042
fix extrafield input with the type int mus show 0 value if exist (#29967)
* fix extrafield input with the type int mus show 0 value if exist

* pre-commit

* pre-commit

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
2024-06-10 14:30:36 +02:00
Frédéric FRANCE
7ea296ff75
Fix Dead catch Exception phpstan (#29959)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

fix phpstan

fix phpstan

* fix phpstan
2024-06-10 14:26:41 +02:00
Laurent Destailleur
7a2b4938c9 FIX #29963 2024-06-10 14:23:07 +02:00
Laurent Destailleur
469137473d Fix use better action code 2024-06-10 14:15:36 +02:00
Laurent Destailleur
cb3fa81975 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-10 14:09:20 +02:00
Frédéric FRANCE
ad93a54402
fix phpstan (#29961)
Expression in empty() is not falsy.
2024-06-10 14:07:28 +02:00
Frédéric FRANCE
bda2fa7818
add missing token (#29962)
* add missing token

* add missing token
2024-06-10 14:06:58 +02:00
Laurent Destailleur
2401ec03d7 Fix tooltip 2024-06-10 13:05:50 +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
2b37ce0023 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-06-09 17:36:52 +02:00
Laurent Destailleur
20bc8c39ac Fix warning when changing the setup 2024-06-09 17:35:05 +02:00
Laurent Destailleur
dea7edc22a Fix button to save must be hidden if in readonly mode 2024-06-09 17:08:19 +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
Lucas Marcouiller
3c06fe163e
Fix #29843 warning division by zero (#29848)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-09 03:20:06 +02:00
sonikf
1baec9ab27
Update tva for Greece (#29849)
* Update tva for Greece

* Update tva for Greece

* Update tva for Greece

* Update tva for Greece
2024-06-09 03:19:11 +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
Maxime Kohlhaas
956d1b025a
Fix : product price by quantity was removing default price (#29899) 2024-06-08 23:35:01 +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