2
0
forked from Wavyzz/dolibarr
Commit Graph

12442 Commits

Author SHA1 Message Date
Thomas C.
976399c2d9 fix (#31683) 2024-11-16 10:57:03 +01:00
Lucas Marcouiller
01687b396b fiw warning for action message display (#31865)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-16 00:27:22 +01:00
Lucas Marcouiller
6f6997a017 fix projet/messaging.php warnings (#31869)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-16 00:15:43 +01:00
Bahfir Abbes
2cc02024f1 fix bug Module Builder creates invalid SQL when using chkbxlst #31545… (#31923)
* fix bug Module Builder creates invalid SQL when using chkbxlst #31545 in https://github.com/Dolibarr/dolibarr/issues/31545

* Update modulebuilder.lib.php

---------

Co-authored-by: abb <contact@ab1consult.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-15 23:37:41 +01:00
Mohamed DAOUD
2f68e94cfd fix include for website library pages (#31891) 2024-11-15 23:03:25 +01:00
moreauftheobald
9dee6b56af Tracking conf->module->enabled 3 (#31905)
* Tracking $conf->module->enabled part 2

* Tracking $conf->module->enabled part 3

* Tracking $conf->module->enabled part 3

---------

Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
2024-11-15 23:02:26 +01:00
moreauftheobald
ee65f40512 Tracking $conf->module->enabled part 2 (#31899)
Co-authored-by: Theobald <f.moreau@theobald-groupe.com>
2024-11-15 23:00:56 +01:00
IC-faycal
3705d4a7ae FIX issue Not check mandatory field in Select field. #31467 (#31836) 2024-11-15 16:05:39 +01:00
Lucas Marcouiller
d9ee8a3838 Fix dol_dir_list_in_database to use filters for db (#31835)
* Fix dol_dir_list_in_database to use filters as an Universal Search String

* fix CI

* fix Ci

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 14:36:48 +01:00
Frédéric FRANCE
ec91ed2af9 test action (#31815)
* NEW : Add category feature on Fichinter

category update

* Update viewcat.php

* Update categories.lang

* Update categorie.class.php

* Update categories.lang

* Update viewcat.php

* Update viewcat.php

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* test action

* clean baseline

Debug v21

NEW: use Expedition::$date_shipping property in card and list (#31701)

* NEW: use Expedition::$date_shipping property in card and list

* FIX: translation

* FIX: PHPStan rebutal

* FIX: not a great idea to copy and not edit comment

* FIX: on create, expected delivery date should precede sending date

* Update card.php

* Update list.php

* Update list.php

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

clean baseline

clean baseline

clean baseline

* clean baseline

* clean baseline

* merge

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* fix translations

* fix translations

* fix

* fix filters

* fix filters

* fix filters

* fix filters

* fix

---------

Co-authored-by: Charlène Benke <1179011+defrance@users.noreply.github.com>
2024-11-15 14:09:04 +01:00
Lucas Marcouiller
6b27108775 Fix bad values for dropdown css (#31824)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-14 23:26:18 +01:00
Alexis Thietard
8c9a1c2bfc fix #24780 change default isolation method in dol_clone (#29391)
This fixes serialization error when attempting to update a custom field value.
This change is made globally because the previous native = 0 default isolation
method is labeled as `deprecated` in the code and therefore shouldn't be used
anymore.

Signed-off-by: Alexis Thietard <alexis.thietard@rtone.fr>
2024-11-13 23:42:07 +01:00
Laurent Destailleur
1f00485763 Doc 2024-11-13 16:14:26 +01:00
Laurent Destailleur
062c769cc3 Rename MAIN_USE_FULL_TEXT_INDEXATION into MAIN_SAVE_FILE_CONTENT_AS_TEXT 2024-11-13 00:01:18 +01:00
Frédéric FRANCE
836bb71303 fix customreports.lib.php (#31771)
* fix customreports.lib.php

* Update commondict.class.php

* Update ctyperesource.class.php

* fix

* CommonDict is not a business class

* Update ctyperesource.class.php

* Update ctyperesource.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-12 03:38:38 +01:00
Laurent Destailleur
07c3690bb7 FIX the style not visible in combo using autocomplete 2024-11-12 01:26:08 +01:00
Laurent Destailleur
40aca2803f Add std deviation in custom report 2024-11-11 21:51:51 +01:00
Laurent Destailleur
9b68d78fe5 Debug v21 2024-11-11 18:53:16 +01:00
lvessiller-opendsi
6c9c177763 NEW VAT by state (#31628)
* NEW VAT by state

* Fix global conf in looad tva function

* Fix load vat rates in memory

* Revert fk_tva column in state dict and load_tva function

* NEW vat rate with department in dict

* Fix isset not nullable

* Fix order VAT rate desc to set as default
2024-11-11 17:57:32 +01:00
Laurent Destailleur
18b334bdf1 Clean code 2024-11-11 15:39:58 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Laurent Destailleur
8ccab8a5fa Doc 2024-11-11 14:45:30 +01:00
Laurent Destailleur
8d62713eff Fix warning 2024-11-10 18:31:40 +01:00
Laurent Destailleur
7e8fff6cb0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-10 18:28:05 +01:00
Laurent Destailleur
4d29fd4beb More complete fix for #31746 2024-11-10 18:23:17 +01:00
Frédéric FRANCE
940324f76d fix dol_time_plus_duree with unit egal mn instead i (#31746)
* fix dol_time_plus_duree with unit egal mn instead i

* Update date.lib.php
2024-11-10 18:15:57 +01:00
Laurent Destailleur
607f2708fc Rename variables to avoid confusion between id and scale. 2024-11-10 18:09:18 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Laurent Destailleur
c093f0c27e Debug v21 2024-11-10 01:10:49 +01:00
Laurent Destailleur
576df86eac NEW Add field to store text content of files 2024-11-09 13:28:50 +01:00
Laurent Destailleur
e1a7681565 Can index with docling 2024-11-09 03:20:15 +01:00
Laurent Destailleur
ec7ea921d4 Debug v21 2024-11-08 18:45:56 +01:00
Pichi1966
b6945d0c27 Fix function num_between_day in date.lib.php in Dev code v21 (#31732)
When debugging Asset Module, I discovered that function num_between_day is returning 0 when $timestampStart equals (==) $timestampEnd and $lastday == 1
Normally it has to return
0 if $lastday = 0
1 if $lastday = 1
2024-11-08 14:46:44 +01:00
Pichi1966
9ae591d662 FIX getCurrentPeriodOfFiscalYear in accounting.lib.php with wrong period used (#31731)
FIX function getCurrentPeriodOfFiscalYear

This one was returning the bad period when a FY period was not already defined. It was using the actual year instead of the year of $fromtime to return a created FY period.
2024-11-08 14:46:13 +01:00
Frédéric FRANCE
5cf3074d28 clean phpstan baseline (#31725)
* clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

* fix and clean phpstan baseline

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-08 14:41:01 +01:00
Laurent Destailleur
77efa1b760 Fix phan 2024-11-08 02:34:31 +01:00
Laurent Destailleur
1b7c412787 WIP generic upload files 2024-11-07 19:51:21 +01:00
Frédéric FRANCE
41a4f42b31 add phpdoc and clean phpstan baseline (#31717)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc

* add phpdoc

* add phpdoc
2024-11-07 17:31:40 +01:00
Laurent Destailleur
31f147622a The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
2024-11-07 12:26:42 +01:00
Laurent Destailleur
865bf1f3e0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-07 05:13:28 +01:00
Frédéric FRANCE
4f777f58dc fix ecmfile tooltip (#30993)
* Update ecmfiles.class.php

* Update ecm.lang

* Update ecmfiles.class.php

* add translations

* wip

* wip

* enhance tooltip

* fix

* fix

* fix

* fix ajaxtooltip

* fix picto

* fix picto

* fix sql

* tooltip

* tooltip

* test
2024-11-07 05:07:41 +01:00
Laurent Destailleur
665477c6fb Rename substituion key __MEMBER_CIVILITY__ 2024-11-07 05:05:29 +01:00
Laurent Destailleur
507d400a56 Fix substition key 2024-11-07 05:03:59 +01:00
Laurent Destailleur
b03684c0ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:28 +01:00
Laurent Destailleur
13ce7cfd04 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 20:17:14 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
uvaldenaire-opendsi
bbf83c7053 fix dol_getdate() when timestamp is an empty string (#31714) 2024-11-06 19:17:33 +01:00
Laurent Destailleur
00b9943069 Rename var to make debug easier 2024-11-06 15:15:55 +01:00
Laurent Destailleur
4bdd848bbe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-06 13:26:08 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00