Commit Graph

3053 Commits

Author SHA1 Message Date
Laurent Destailleur
1d07e2a36b css 2024-06-10 15:01:45 +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
ae41b85a36 Fix look and feel v20 2024-06-04 11:58:43 +02:00
Laurent Destailleur
b3a42dad39 Debug v20 2024-06-04 10:18:56 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
06579013df Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-28 02:44:11 +02:00
Laurent Destailleur
d805edea64 Debug v20 2024-05-28 02:11:55 +02:00
Laurent Destailleur
2256b267d7 Debug v20 2024-05-24 14:11:51 +02:00
Laurent Destailleur
f51109ad96 Add default css value 2024-05-15 11:14:26 +02:00
Laurent Destailleur
4365485582 Debug v20 2024-05-13 19:00:45 +02:00
Laurent Destailleur
df0922fa92 PHoto was missing into the select of user in multiselection 2024-05-13 15:22:30 +02:00
Frédéric FRANCE
933e87ca81 Update codespell-dict.txt (#29644)
* Update codespell-dict.txt

* WYSIWYG

* phan
2024-05-10 12:34:08 +02:00
Laurent Destailleur
8265bdedcb Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-10 12:03:33 +02:00
Laurent Destailleur
fa75dc5213 FIX Better compatibility when objectdesc is not valid, and warnings 2024-05-09 12:33:55 +02:00
Laurent Destailleur
27bc1cddad Debug v20 2024-05-08 15:43:46 +02:00
Laurent Destailleur
9bb1f98ffd Debug v20 2024-05-08 14:53:10 +02:00
Laurent Destailleur
de4941fd49 Workaround to allow selection of contact from full combo once a
thirdparty is selected;
2024-05-08 14:23:39 +02:00
Laurent Destailleur
99e0df1ef9 Fix warnings 2024-05-07 22:28:28 +02:00
Laurent Destailleur
8b84be2d6c Add select component to support correctly option C
ONTACT_USE_SEARCH_TO_SELECT
2024-05-07 19:59:20 +02:00
Laurent Destailleur
55d2f3d9fc Debug v20 2024-05-06 10:00:18 +02:00
Laurent Destailleur
30de8684fd More complete fix for #29587 for suplier with no vat. Fix also
ref_supplier not propagated.
2024-05-03 00:30:01 +02:00
Laurent Destailleur
e3daa23949 Look and feel v20 2024-04-30 09:45:28 +02:00
Laurent Destailleur
8ff36d2dca Debug v20 2024-04-30 02:47:03 +02:00
Laurent Destailleur
f533fccc5f Doc 2024-04-27 17:01:53 +02:00
Laurent Destailleur
c656df9d35 Doc 2024-04-27 16:39:26 +02:00
Laurent Destailleur
566a0ad3f6 Debug v20 2024-04-24 02:59:43 +02:00
Laurent Destailleur
1908d6cf98 Look and feel v20 - All combo of categories are using the colored picto 2024-04-24 02:40:53 +02:00
Laurent Destailleur
8243abde83 Debug v20 2024-04-23 00:54:44 +02:00
Laurent Destailleur
1e3b2c6a7c Try to fix GETPOSTINT regressions 2024-04-19 13:34:48 +02:00
Laurent Destailleur
c5751a970a Fix CSS 2024-04-19 01:39:48 +02:00
Laurent Destailleur
612e41a8ca Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/lib/functions.lib.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/19.0.0-20.0.0.sql
	htdocs/product/stock/replenish.php
	htdocs/takepos/invoice.php
2024-04-18 02:48:52 +02:00
Laurent Destailleur
0d5d0d6ae8 More complete log 2024-04-17 17:33:28 +02:00
Laurent Destailleur
5e74bd4db8 Fix filter on company. 2024-04-12 19:45:49 +02:00
Laurent Destailleur
e5240123a1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-04-12 19:24:31 +02:00
boudet jean pascal
3076b6ad40 fix 500 error count array (#29337)
* fix error 500  on array count

* fix pre-commit error

* Update html.form.class.php

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 14:44:54 +02:00
Laurent Destailleur
be52b8d75d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-12 14:32:59 +02:00
Laurent Destailleur
60578402f4 Fix when we assign sale representatives to a thirdparty, list must be
the default list with same condition than into getSalesRepresentatives()
2024-04-12 14:32:27 +02:00
Laurent Destailleur
19d4726e4c Use WHERE IN instead of SELECT DISTINCT 2024-04-12 14:22:02 +02:00
Laurent Destailleur
1240072591 QUAL Make the same condition only once. 2024-04-12 13:53:18 +02:00
MDW
bc5e5b67af Qual: Update phan baseline (#29300)
* Qual: Update phan baseline

* Init variable to ensure it is defined

* Init $module_part to ensure it is defined

* Init $modulepart to ensure it is defined

* phpdoc typing for getNetNeeds and getNetNeedsTree

* Enforce type for phan

* Initialise  $massactionbutton so that it is defined

* phpdoc: improve typing

* Encore character_set value is string (for typing)

* fixup! Qual: Update phan baseline

* Fix duplicate code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-12 01:06:52 +02:00
Laurent Destailleur
141718f314 Fix regression 2024-04-12 01:04:37 +02:00
Laurent Destailleur
6fcec74fed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-11 22:58:17 +02:00
Laurent Destailleur
0a3f66c6c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	dev/tools/codespell/codespell-ignore.txt
	htdocs/admin/system/security.php
	htdocs/core/class/commondocgenerator.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/product/fournisseurs.php
2024-04-11 22:57:43 +02:00
MDW
e171e8e7ef Qual: Fix all active phan notices in html.form.class.php (#29316) 2024-04-11 19:14:46 +02:00
Laurent Destailleur
132595f10f CSS customreport 2024-04-10 01:38:36 +02:00
Laurent Destailleur
b172640ae5 Debug v20 2024-04-09 03:38:38 +02:00
Nicolas Domenech
485a17b072 #29026 [Class] fix: selectForForms issue on check fields before use for modification on objectdesc (#29027)
* #29026 [Class] fix: selectForForms issue on check fields before use for modification on objectdesc

* Update html.form.class.php

* Update html.form.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:33:48 +02:00
Francis Appels
e23ccabf36 Fix PR #28989, create shipment line (#29281)
* Fix PR #28989, create shipment line

* Fix Phan

* Update changelog

* Fix stan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-04-08 23:10:58 +02:00