2
0
forked from Wavyzz/dolibarr
Commit Graph

13877 Commits

Author SHA1 Message Date
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
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
Eric
3421352e7c prefix and suffix core cleanup (#29938) 2024-06-09 00:50:40 +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
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
Vincent Maury
19f68b0b67 Add clean conditions to show "create purchase order" button in sale order card (#29906)
* Add clean conditions to show "create purchase order" button in sale order card

* Add clean conditions to show "create purchase order" button in sale order card

* Add clean conditions to show "create purchase order" button in sale order card
2024-06-08 02:48:59 +02:00
HENRY Florian
5142c9bfbb fix: travis CI (#29883) 2024-06-07 16:18:34 +02:00
Laurent Destailleur
78421f4607 Debug v20 2024-06-06 11:09:43 +02:00
Laurent Destailleur
cbb458486b Debug v20 2024-06-06 09:27:25 +02:00
Laurent Destailleur
18242bc0a0 Debug v20 2024-06-06 02:33:16 +02:00
Laurent Destailleur
0371ffefd0 Debug v20 2024-06-06 00:37:08 +02:00
Laurent Destailleur
ff2bd03584 Debug v20 2024-06-05 23:49:09 +02:00
Frédéric FRANCE
74806473ab fix cti (#29842)
* fix cti odt asset

* comment unused code in template

* phpdoc

* fix unreachable code

* fix unreachable code

* fix not falsy
2024-06-05 14:55:07 +02:00
Frédéric FRANCE
741e75ee47 add phpdoc (#29832)
* add phpdoc

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* fix phan

* add phpdoc

* fix phan

* fix phan
2024-06-04 14:46:54 +02:00
Laurent Destailleur
ae41b85a36 Fix look and feel v20 2024-06-04 11:58:43 +02:00
Laurent Destailleur
fd5a42a612 Fix phan 2024-06-04 10:44:44 +02:00
Laurent Destailleur
b3a42dad39 Debug v20 2024-06-04 10:18:56 +02:00
Laurent Destailleur
c00ffbcd66 Fix error in generic report 2024-06-03 22:43:09 +02:00
Laurent Destailleur
6e6271c47e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-06-03 17:37:42 +02:00
Lucas Marcouiller
c5df307d03 Fix multi input workflow for text type (#29820)
* Fix multi input workflow for text type

* fix phan

* fix phan

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-06-03 16:47:48 +02:00
Laurent Destailleur
298c59f288 Fix warning 2024-06-01 15:00:42 +02:00
Laurent Destailleur
5edb71afb8 Debug v20 2024-05-31 23:57:44 +02:00
Laurent Destailleur
9c9773b74f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-05-31 16:17:53 +02:00
Laurent Destailleur
65cfd9fa13 Doc 2024-05-31 16:11:05 +02:00
Sébastien NASSIET
a8781e0133 FIX Extrafields always been delete and re insert for categories (#29781)
* Check extrafields on the right table for categories

As it done in line 6737, it's necessary to add a compatibility renaming of table_element for categories.

* Update commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-31 16:09:33 +02:00
Laurent Destailleur
31a626b34d Fix phan 2024-05-31 14:59:16 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
386a40b4a6 Debug look and feel v20 - Fix groupby in kanban 2024-05-29 23:23:20 +02:00
Laurent Destailleur
326e611851 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-29 14:46:55 +02:00
Laurent Destailleur
48c5d9b0bc Debug v20 2024-05-29 12:26:04 +02:00
Laurent Destailleur
de531e52be Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-28 23:56:42 +02:00
altairis-melina
49ef7cd556 FIX: langs in common docgenerator (#29774) 2024-05-28 23:54:44 +02:00
Laurent Destailleur
d723abc487 Debug v20 2024-05-28 23:52:33 +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
Florent Poinsaut
495b6f0440 NEW Supplier Order canceled notification (#26882)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-25 14:38:35 +02:00
Laurent Destailleur
30f0582b22 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-24 14:12:18 +02:00
Laurent Destailleur
2256b267d7 Debug v20 2024-05-24 14:11:51 +02:00
Laurent Destailleur
0bb68d11d0 Debug v20 2024-05-24 00:53:58 +02:00
Laurent Destailleur
46b0bcefb7 Doc 2024-05-23 22:28:37 +02:00
Laurent Destailleur
59ae417912 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-23 12:52:28 +02:00
lamrani abdelwadoud
5945fd8c7f Fix display Qrcode on reception pdf (#29742)
* Fix display Qrcode on reception pdf

* Fix run phan
2024-05-22 20:31:11 +02:00
Laurent Destailleur
d7b9e7b4ef Fix warnings 2024-05-22 17:25:31 +02:00
data-mloe
48c878e391 Fixed an issue where text extrafields in contract lines where not updated if they contained an empty string (#29736) 2024-05-22 16:18:10 +02:00
atm-lucas
0fe6380480 NEW - Can add documents on a payment (#29660)
* missing attached files on payment of a customer invoice

* ending and fix preview

* fatal

* FIX commit

* travis and pre-commit failed

* Fix test failed

* Fix all test failed

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-21 20:19:57 +02:00
Mohamed DAOUD
ecb274601c Add new website page types: library, service (#29721)
* library service page types

* Update index.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-21 20:13:39 +02:00
Laurent Destailleur
481fec5291 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-21 20:12:45 +02:00