Commit Graph

3077 Commits

Author SHA1 Message Date
Regis Houssin
7b81cccc55 FIX uniformize and check delete contact action (#31384)
* FIX uniformize and check delete contact action

* FIX syntax error

* FIX missing private contact checking

* FIX missing show errors

* FIX missing "oldcopy" for trigger

* FIX missing private contact filter in selectcontact
2024-10-14 16:45:46 +02:00
Laurent Destailleur
185d7f4358 Fix output 2024-10-13 13:18:16 +02:00
Laurent Destailleur
081d3fabfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-07 15:20:16 +02:00
Joachim Kueter
63f6d0aa43 Fix: Number of decimals for stock values ignores configuration (#31285)
* Fix: Number of decimals for stock values ignores configuration

In the select filed for adding a new line for a proposal/invoice/... product as a line, the stock level is always printed with exactly two decimals.

The number of decimals should be controlled by the existing global variable MAIN_MAX_DECIMALS_STOCK, but it is not taken into account:

Building the stock level with the function price from the function price2num, which uses the configured number of decimals always lead to exactly two decimals.

* Fixed patch according to suggestion.
2024-10-06 13:53:16 +02:00
Laurent Destailleur
e0e0b669a9 FIX edit contract of intervention broken by CSRF protection 2024-09-25 19:37:32 +02:00
Laurent Destailleur
401c9898bb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-20 02:46:03 +02:00
Laurent Destailleur
87adbbb769 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-20 02:39:55 +02:00
Benjamin Falière
dcba3347d8 Retroport: FIX determine multi-currency price on object line create tpl (#28021) (#30535)
* NEW determine multi-currency price on object line create tpl (#28021)

* Update html.form.class.php

---------

Co-authored-by: lvessiller-opendsi <lvessiller@open-dsi.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-18 03:22:38 +02:00
Laurent Destailleur
69f7fe31a3 Fix text 2024-09-17 03:06:26 +02:00
Laurent Destailleur
cb3ce12bfc Debug webportal module Fix #30981 2024-09-17 02:29:43 +02:00
Laurent Destailleur
07546f4d7e Debug v20 2024-09-05 18:10:24 +02:00
Laurent Destailleur
d2608dfb08 Fix type 2024-09-03 17:50:36 +02:00
Laurent Destailleur
3f9b2d9d57 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-01 14:15:57 +02:00
John BOTELLA
079f6487fd Fix : php 8 warnings v19.0 (#30799)
* fix php8 err

* Fix php 8

* fix missing precommit hooks

* Update htdocs/commande/list.php

* Update htdocs/commande/list.php
2024-08-31 19:42:15 +02:00
Laurent Destailleur
e631ce7475 Fix sanitizing dol_openinpopup 2024-08-22 14:46:10 +02:00
Laurent Destailleur
d24631de7e Debug v20 2024-07-30 12:06:59 +02:00
Laurent Destailleur
07079fc239 Fix bad position of selected option 2024-07-27 19:33:28 +02:00
Laurent Destailleur
21d1c9b3d2 Fix filter on contact combo fails when 2 strings. 2024-07-22 21:01:01 +02:00
Laurent Destailleur
e72d22b1ed Debug v20 2024-07-03 18:02:11 +02:00
Laurent Destailleur
2f4c84f4b5 Debug v20 2024-06-29 13:23:05 +02:00
Laurent Destailleur
9adb439c03 Look and feel v20 2024-06-17 14:13:25 +02:00
Laurent Destailleur
4af3e82922 Fix warnings 2024-06-17 14:06:21 +02:00
Laurent Destailleur
d376a2a406 Fix look and feel v19 2024-06-14 19:39:26 +02:00
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