Commit Graph

14550 Commits

Author SHA1 Message Date
Laurent Destailleur
e9e1175134 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-19 04:04:10 +01:00
Laurent Destailleur
93b11038d5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-19 03:44:50 +01:00
Laurent Destailleur
99774022a5 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-11-19 03:36:44 +01:00
Laurent Destailleur
c5ebc9b7bd Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-11-19 03:33:15 +01:00
Laurent Destailleur
8e59e738c2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-19 03:31:55 +01:00
Laurent Destailleur
6d42a3cbe9 Optimize code 2024-11-19 03:31:21 +01:00
Mohamed DAOUD
b23efea01e enhance display filter editor 2024-11-18 21:55:30 +01:00
Mohamed DAOUD
2f6e814d6f Enhance the behavior of stars extrafields with the canAlwaysBeEdited parameter (#31978)
* enhance stars extrafields and alwayseditable

* add comment

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-18 21:24:41 +01:00
Laurent Destailleur
1a9722cc8a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-18 18:16:42 +01:00
Laurent Destailleur
3e22defdaf Clean code 2024-11-18 18:15:58 +01:00
Frédéric FRANCE
35c2baf18c avoid to link object twice (#31987)
* avoid to link object twice

* restore change removed in merge develop in develop

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-18 18:15:28 +01:00
MDW
58fa1ac626 Qual: Fix phan notices (#31962) 2024-11-18 15:40:54 +01:00
Frédéric FRANCE
943d10c60a fix phpstan and CI (#31969)
* fix phpstan

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline

* fix errors and refresh phpstan baseline
2024-11-18 15:10:29 +01:00
MDW
860e1b779f Fix vCard output #31958 (#31959)
Fix #31958 - avoid messing up ENCODIGN & add CHARSET

Workaround by limiting the too generic replacement for social networks.
Add CHARSET for proper decoding.
2024-11-17 01:09:56 +01:00
Laurent Destailleur
cbdda5d1a8 Fix the automatic nb of list 2024-11-16 23:23:14 +01:00
omogenot
48f0f55b7c NEW: Allow multiple extrafields deletion (#31956)
* Allow multiple extrafields deletion

If no element type parameter is given to the delete_label function, all occurences of the same extra field name are deleted at once. This simplifies the de-installation of a module that would have created multiple extra fields accros several element types.

* Update extrafields.class.php

Remove empty line whitespace
2024-11-16 20:13:40 +01:00
Mathieu Moulin
a602309e04 Fix user::load_previous_next_ref() with MULTICOMPANY_TRANSVERSE_MODE bad sql query (cartesian product replaced by INNER JOIN) (#31946) 2024-11-16 18:19:59 +01:00
Lucas Marcouiller
1ec2b053b7 fix warning in html form class (#31860)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-16 10:45:29 +01:00
Mathieu Moulin
348981a419 Fix show payment URL in massaction context when not one email per recipient (#31927) 2024-11-16 00:06:15 +01:00
William Mead
038f8d5dff Backported default ticket severity fix (#31908) 2024-11-15 23:44:08 +01:00
William Mead
bab49d66c5 Backported default ticket type fix (#31912) 2024-11-15 23:36:54 +01:00
Francis Appels
230eee4ead FIX issue #28222 Edit date extrafield diplayed on all on lines (#31914)
* FIX issue #28222 Edit date extrafield diplayed on all on lines

* wrong id
2024-11-15 23:31:12 +01:00
Mohamed DAOUD
62ba788c8f fix stars extrafields on pdf (#31913) 2024-11-15 23:07:37 +01:00
Lucas Marcouiller
0507db75b5 fix php warning in dolGraph class (#31911)
* fix php warning in dolGraph class

* remove useless test

---------

Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 23:06:54 +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
Lucas Marcouiller
39d0debfd4 fix php warning in infobox.class (#31907)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
2024-11-15 22:59:33 +01:00
Rémi Champlon
f408803ae0 list contact check by module (#31845)
Co-authored-by: Rémi Champlon <r.champlon@vold.lu>
2024-11-15 16:02:11 +01:00
Frédéric FRANCE
ead048e1fd fix calculate costs bom (#31755)
* fix calculate costs bom

* fix calculate costs bom

* Update bom.class.php

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-15 15:05:51 +01:00
Marc de Lima Lucio
ce9a1b3661 FIX: swiftmailer: correctly set errors-to header (#31826) 2024-11-15 14:10:35 +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
HENRY Florian
b8f481b579 fix: php 8 warning on create object from table module builder (#31817)
* fix: php 8 wrning on create object form table module builder

* remove unwanted linebreak

* fix: remove warning on filed type checklbst show output list
2024-11-14 23:30:11 +01:00
MDW
a0f515ef12 Qual: Improve write_file typing (part 2) (#30527)
* Qual: Add abstract write_file to ModeleDon

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModeleChequeReceipts

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFRecruitmentCandidature

And update phpdoc for derived classes

* Qual: Add abstract write_file to ModelePDFStock & ModelePDFStockTransfer

And update phpdoc for derived classes

* Qual: Update phpdoc write_file for CommonStickerGenerator classes

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:58:32 +01:00
atm-jonathan
e20d1f0896 NEW multiselect search_sale in list societe (#29110)
* multiselect commerciaux

* retour Wysy

* retour pr

* retour PR

* retour PR

* retour PR

* retour PR

* retour PR

* retour PR

* count > 0

* GETPOSTISARRAY() $search_sale

* pre-commit

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 22:36:26 +01:00
Laurent Destailleur
8443ec649d Fix phan 2024-11-13 21:28:25 +01:00
Frédéric FRANCE
8c0c033e49 add phpdoc in mailing modules (#31786)
* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* add phpdoc

* test

* test

* test

* test
2024-11-13 15:27:26 +01:00
Laurent Destailleur
8496e8a8ed Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-13 10:08:21 +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
2f207dd347 switching on phpstan v2 level 10 (#31764)
* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* switching on phpstan v2 level 10

* version

* fix phpstan

* fix phpstan

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* add action to refresh phpstan baseline

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* update baseline
2024-11-12 23:18:02 +01:00
Laurent Destailleur
221f8e947a Debug v21 2024-11-12 19:41:21 +01:00
Laurent Destailleur
542b4bd099 Fix phan 2024-11-12 13:45:15 +01:00
Laurent Destailleur
14d548143b Try to fix phpstan 2024-11-12 13:08:03 +01:00
Laurent Destailleur
a64de4d24d Clean code 2024-11-12 12:57:08 +01:00
Laurent Destailleur
5312bd80b9 Doc 2024-11-12 04:04:31 +01:00
Laurent Destailleur
c9972f1dd9 Fix phan 2024-11-12 03:32:57 +01:00
Laurent Destailleur
f35fd7c1f0 Clean code 2024-11-12 03:17:55 +01:00
Laurent Destailleur
07c3690bb7 FIX the style not visible in combo using autocomplete 2024-11-12 01:26:08 +01:00
Florian Hödl
75ce3e8513 [FIX] Update ticket create form to hide contracts from other thirdparties for external users (#31762)
Co-authored-by: fhoedl <florian@hoedl.co>
2024-11-12 00:36:34 +01:00
atm-lena
10e18da5d7 Develop new facture rec field societe rib management (#31698)
* Add field "fk_societe_rib" in llx_facture_rec

* Add field fk_societe_rib FactureRec

* Management of new field "Bank Account Customer" in facture rec

* Empty Value Management

* Change method of hide/show field

* Preselect RIB

* Rename function

* Edit structure formiban

* fix merge conflict

* Clean code

* clean code

* change translations

* default rib preselected in invoice rec create

* fix "=="

* Update card-rec.php

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:53:35 +01:00
Alexandre SPANGARO
2fc0579def NEW EPC QR CODE - Use bank owner account name instaed of company (#31735)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:38:41 +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