2
0
forked from Wavyzz/dolibarr
Commit Graph

14863 Commits

Author SHA1 Message Date
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
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
6db1a73f9e Debug v21 2024-11-10 01:47:19 +01:00
Laurent Destailleur
14fc219fc9 Debug v21 2024-11-09 12:39:44 +01:00
Laurent Destailleur
829aa09a8d Debug v21 2024-11-09 12:28:36 +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
Laurent Destailleur
9afbfaba28 Add option MAIN_MAIL_NO_RETURN_PATH_FOR_MODE_MAIL and return-path is
email without label.
2024-11-08 17:20:01 +01:00
Laurent Destailleur
8a2c861930 Code comment 2024-11-08 16:58:25 +01:00
warnerbryce
8657bba32a NEW : Adds some improvement for ODT Contracts (#31715)
* NEW : ODTSubsitution for date_start_real / Contracts

* ODT Contracts - Add deliveries langs
2024-11-08 14:47:45 +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
7c5c08f8b4 Add option MAIN_PROFID_MAXLENGTH_PLUS 2024-11-07 05:25:36 +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
MDW
d8c4f678f4 Qual: Fix CI - phan/phpstan notices (#31720)
# Qual: Fix CI - phan/phpstan notices

Fix notices currently active in develop branch

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-07 04:40:45 +01:00
Laurent Destailleur
f8d3656b6d Try to fix phan 2024-11-07 03:11:42 +01:00
Laurent Destailleur
b0e10ec2e4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-07 01:17:58 +01:00
Laurent Destailleur
a23a7385e7 Fix phan 2024-11-07 01:16:48 +01:00
MDW
278d301f32 Qual: Fix phan/phpstan notices in class files (part 6) (#31634)
* Qual: Fix notices for paymentdonation...workstationusergroup.class

* Qual: Fix PhanPluginRedundantReturnComment, update baseline

* Qual: Complete array phpdoc for properties
2024-11-06 23:57:45 +01:00
Laurent Destailleur
0e55db7caf WIP Captcha architecture 2024-11-06 23:02:46 +01:00
Laurent Destailleur
84c343cada WIP Captcha module architecture 2024-11-06 22:15:25 +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
MDW
178d748cad Qual: Fix phan/phpstan notices in class files (part 5) (#31617)
* Qual: fix commonstickergen..don.class

* Fix notifications for pdf_paiement...cronjob.class

* Qual: Fix notifications for emailcollector..price_parser.class

* Ensure that NULL is used in the database when fk's are 0/empty

* Fix notifications for pdf_paiement...cronjob.class

* Cope with updated phpstan, and make fk_origin_stock int in multiple locations
2024-11-06 20:15:15 +01:00
Laurent Destailleur
b7821bde26 FIX the autofix corrupted vat value must be triggered only if we are
sure data is corrupted.
FIX the autofix must also fix the multicurrency value.
2024-11-06 16:17:51 +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
Frédéric FRANCE
24e7285539 fix CI (#31692)
* Update commonobjectline.class.php

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-05 15:33:09 +01:00
Laurent Destailleur
fc0496c48b Fix phan 2024-11-05 15:06:17 +01:00
Laurent Destailleur
b25c75c87d Clean code 2024-11-05 14:52:59 +01:00
Laurent Destailleur
d980889f8a Doc comment 2024-11-05 14:22:06 +01:00
Laurent Destailleur
54216fc00d Fix phan 2024-11-05 14:16:32 +01:00
Laurent Destailleur
eff4ee9fae Debug v21 2024-11-05 10:14:40 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Mathieu Moulin
f2b33ffd55 Fix use of extrafield of type link with CommonObjectLine (#29957)
* define default getNomUrl() in CommonObjectLine class

* Fix mistakes (pre-commit...) and precise function description

* Fix CommonObjectLine::getNomUrl to be useable with existing

* Update commonobjectline.class.php

* Update commonobjectline.class.php

* Update commonobjectline.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:52:10 +01:00
Laurent Destailleur
7e6a41bbd9 Share common code 2024-11-04 13:56:05 +01:00
Jarod1980
f1581e9eed Update commonobject.class.php (#31667)
change sourcetype and targettype to use  $this->getElementType() instead of $this->element
2024-11-04 12:33:48 +01:00
MDW
e7539f2e19 Qual: Fix notices in .lib.php files (#31672)
* Qual: Fix notices in .lib.php files

* Update wrapper.php

* Update availabilities_card.php

* Update index.php

* Update document.controller.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 12:32:13 +01:00
Zephyriony
1619c103cd FIX Authorize modification of a partially shipped order (#31659)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-01 10:47:46 +01:00
Mohamed DAOUD
ae7c15d180 Fix function call to display star extra fields by passing object as parameter (#31664)
* fix stars extrafield regression

* Update extrafields_list_print_fields.tpl.php

* fix phan

* Update extrafields_list_print_fields.tpl.php
2024-11-01 10:47:16 +01:00
Je2fb
408215b873 Fix issue product multicurrency price in form list and incoterm location (#31651)
* Update html.form.class.php for multicurrency issue

Error in the name of the parameter data-multicurrency-up replaced by data-multicurrency-unitprice

* Fix Incoterm location

Replacement of function to retrieve the data from GET argument form GETPOSTINT to GETPOST, location_incoterms is a string and not a number

* Update card.php

* Update card.php

* Update card.php

* Update card.php

* Update shipment.php

* Update card.php

* Update card.php

* Update stocktransfer_card.php

* Update card.php

* Update card.php
2024-10-31 18:45:24 +01:00