2
0
forked from Wavyzz/dolibarr
Commit Graph

8040 Commits

Author SHA1 Message Date
Laurent Destailleur
8e12d3fd17 Trans 2024-06-12 14:42:02 +02:00
Laurent Destailleur
14ca7e80a6 Fix test 2024-06-12 14:34:24 +02:00
Laurent Destailleur
524f300034 Clean repair page 2024-06-12 14:33:36 +02:00
Laurent Destailleur
25e9d9b2ba Trans 2024-06-12 13:57:56 +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
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
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
Laurent Destailleur
42470a113e Doc 2024-06-04 11:15:56 +02:00
jyhere
57f35d7774 FIX: default element_type should be 'commande' (e.g Commande::) (#29791)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-03 13:51:36 +02:00
Laurent Destailleur
6e06f179f6 Missing field 2024-06-03 11:50:40 +02:00
Laurent Destailleur
32dc3a885f Fix null value that must be 0 into llx_mrp_production 2024-06-02 18:23:51 +02:00
Laurent Destailleur
82908a30eb Clean phan warnings 2024-05-30 13:37:17 +02:00
Laurent Destailleur
aa277f08e8 Fix migration 2024-05-29 17:11:43 +02:00
Laurent Destailleur
e2e96d4d75 Debug v20 2024-05-29 01:10:56 +02:00
Laurent Destailleur
e5af8ece4a Fix vat code for Gabon 2024-05-25 19:50:04 +02:00
Laurent Destailleur
da46954394 Add VAT rate for Gabon 2024-05-24 16:57:30 +02:00
Laurent Destailleur
44fda7fa68 Optimize image file size 2024-05-22 01:00:51 +02:00
jyhere
90eb4ad840 FIX: Db error cannot add foreign key constraint on societe_commerciaux table (#29706) 2024-05-21 18:01:13 +02:00
Laurent Destailleur
9f250b580d Doc 2024-05-21 17:17:37 +02:00
Frédéric FRANCE
c7e3b09689 fix migration 19.0.0-20.0.0.sql (#29705)
* fix migration 19.0.0-20.0.0.sql

* Update .travis.yml

* Update 19.0.0-20.0.0.sql

* Update repair.sql
2024-05-21 17:16:50 +02:00
Mohamed DAOUD
b4d3237af3 Add new type -library- to Website page types table (#29720)
* new website page type

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-21 17:14:09 +02:00
Laurent Destailleur
80c9cb0801 Fix email templates must now use __SENDEREMAIL_SIGNATURE__ 2024-05-16 15:35:21 +02:00
Laurent Destailleur
271624de1b Debug v20 2024-05-15 18:04:52 +02:00
UltraViolet33
bd5c50d213 set default value of $conf->db->dolibarr_main_db_encryption to 0 (#29693)
Set default value of $conf->db->dolibarr_main_db_encryption to 0 instead of empty string when dolibarr_main_db_encryption is null

Co-authored-by: Ulysse Valdenaire <uvaldenaire@easya.solutions>
2024-05-15 17:41:58 +02:00
Laurent Destailleur
03a0043fac Migration 2024-05-13 19:43:25 +02:00
Laurent Destailleur
0a5745de78 Fix migration 2024-05-13 19:42:55 +02:00
Laurent Destailleur
f21d443a8b Clean orphelin 2024-05-13 19:33:26 +02:00
Laurent Destailleur
5586fc8c40 Fix remove orphelin 2024-05-13 19:32:15 +02:00
Laurent Destailleur
9d9d1b245c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-05-13 03:54:36 +02:00
HENRY Florian
a6caef2dcf NEW : Add default User roles for Thirdparties (#29242)
* firstStepBDD

* revert bad changes

* add new column for user roles in societe_commerciaux table

* merge

* Update 19.0.0-20.0.0.sql

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-13 03:25:05 +02:00
Laurent Destailleur
c8c0fe5a20 Doc 2024-05-13 03:18:30 +02:00
Laurent Destailleur
1e2e9a0875 Doc 2024-05-13 03:00:31 +02:00
Laurent Destailleur
e4bcc4c7d0 Rmoved bad page 2024-05-12 22:10:37 +02:00
Laurent Destailleur
6a7fd4d19d Reexport website templates with v20 2024-05-12 21:51:16 +02:00
Laurent Destailleur
8d60adc421 Reexport website templates with v20 2024-05-12 21:45:15 +02:00
Laurent Destailleur
5c36c21332 Clean code from a non complete website templates 2024-05-12 21:00:39 +02:00
Laurent Destailleur
b2b11fd1a5 Clean website templates 2024-05-12 20:51:58 +02:00
Laurent Destailleur
0163cc6278 Debug export website 2024-05-12 20:27:03 +02:00
Laurent Destailleur
0e34a20c14 Debug v20 2024-05-12 18:44:58 +02:00
Laurent Destailleur
87c445bbf1 Add website page type for ajax 2024-05-12 12:20:00 +02:00
Anthony Berton
64b3b3d59f NEW - Trigger for Knowledge (#29645)
* NEW - Trigger for Knowledge

* Clean

---------

Co-authored-by: Anthony Berton <anthony.berton@bb2a.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-11 20:43:02 +02:00
Laurent Destailleur
d90341af62 More complete db structure for online signature 2024-05-05 01:27:32 +02:00
Laurent Destailleur
28887963be Fix missing the unique keys on category table 2024-05-05 00:30:14 +02:00
Laurent Destailleur
ed8e1353ae Removed duplicated column 2024-05-04 19:06:27 +02:00
Laurent Destailleur
390ea76702 Debug v20 2024-05-03 18:00:17 +02:00
lamrani abdelwadoud
62f513ea3e add column to expedition table (#29561)
* add column to expedition table

* add to table also and change default value
2024-05-03 13:16:53 +02:00
Vincent de Grandpré
6af28aafa0 Repair function to calculate invoice total from line items (#29568)
* CLI script to calculate invoice total from line items

* php CLI est exécutable

* Replaced sum() with price2num() and added support for localtax2.

* Added function recalculateinvoicetotals to install/repair.php with more precise invoice qualification for regenerate.

* phpcs correction

* remove script file and added to authors of repair.php
2024-05-03 13:13:21 +02:00
Laurent Destailleur
c0784ac9d6 Debug v20 2024-04-30 00:28:47 +02:00
Frédéric FRANCE
6da59ca0c0 fix fichinter_rec (#29537)
* fix fichinter_rec

* fix fichinter_rec

* fix fichinter_rec
2024-04-29 22:53:43 +02:00
Eric
ea9a6c0162 NEW add relation type on element_element (#29329)
* add relation type on element_element

* add column on migration 19 -> 20
2024-04-29 11:29:32 +02:00