Commit Graph

3027 Commits

Author SHA1 Message Date
Frédéric FRANCE
0a9eb9008a fix extrafields when object doesnt have const STATUS_DRAFT (#32009) 2024-11-20 20:59:03 +01:00
Laurent Destailleur
ac6c57e90e Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-11-19 12:59:14 +01:00
Laurent Destailleur
9c4bb84460 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-11-19 12:57:19 +01:00
Laurent Destailleur
b068fdc9b3 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2024-11-19 12:56:19 +01:00
Laurent Destailleur
b8533e1853 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0 2024-11-19 12:49:19 +01:00
Laurent Destailleur
753e5e535d Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0 2024-11-19 12:47:14 +01:00
Laurent Destailleur
1386d8c388 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-19 04:21:29 +01:00
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
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
3e22defdaf Clean code 2024-11-18 18:15:58 +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
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
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
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
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
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
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
c9972f1dd9 Fix phan 2024-11-12 03:32:57 +01:00
Laurent Destailleur
f35fd7c1f0 Clean code 2024-11-12 03:17:55 +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
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
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
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
Laurent Destailleur
e6f1d4835f Clean sql code 2024-10-29 02:58:20 +01:00
Zephyriony
6b29450de7 NEW Authorize modification of a partially shipped order (#31423)
* NEW Authorize modification of a partially shipped order

* Update errors.lang

* Update commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-28 01:29:29 +01:00
Frédéric FRANCE
0f563edb5f replace fetch_projet() and fetch_project() by fetchProject() (#29821)
* fix cti

* fix cti

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* fix deprecated

* fix

* fix sql
2024-10-26 22:43:44 +02:00
Florian Mortgat
abefce7ae2 FIX 17.0: supplier invoice template card: buyer and seller swapped in VAT-related function calls (probably a copy-paste from customer invoice templates) (#31446) 2024-10-19 01:55:58 +02:00
Laurent Destailleur
b43f0079d6 css 2024-10-18 04:14:02 +02:00
Laurent Destailleur
8562dd887b Merge 2024-10-17 02:15:53 +02:00
Frédéric FRANCE
0c678878b7 fix typo of hidden parameter in commonobject.class.php (#31417)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-17 01:24:15 +02:00
IC-Mathieu
9c0704ee56 NEW : care grandchild (#31314)
* NEW_CARE_GRANDCHILD

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-13 21:10:42 +02:00
MDW
d7b2f95baf Qual: Fix phan notices (#31372)
* fix llx_webhook_target-webhook.sql

* Fix commande/list & facture-rec.class

* Fix bonprelevement

* Qual: Fix prelevement/create notices

* Qual: fix quadridetail notices & update baseline

* Qual: Fix CommonDocGenerator notices

* Qual: Fix commoninvoice and commonobjectline notices (phan/phpstan)

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
2024-10-13 16:45:42 +02:00
Mohamed DAOUD
ae206bcc22 fix stars (#31317) 2024-10-09 01:00:34 +02:00
Laurent Destailleur
58cc96cd33 QUAL All $conf->global->module->enabled are replaced with isModEnabled() 2024-10-07 14:40:29 +02:00
Mohamed DAOUD
4a7ad31f85 NEW Stars Field for Module Builder (#31216)
* stars field for modulebuilder

* Update commonobject.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-04 18:37:41 +02:00
Laurent Destailleur
79892e79e5 Removed init of context here. Contet must be initialized by parent
caller. You already can use 'globalcard' or 'main' for example...
2024-09-30 10:21:41 +02:00
Aloïs Micard
3da76f9536 Add a new hook into CommonObject#commonReplaceThirdparty (#30827) 2024-09-30 10:19:35 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
Laurent Destailleur
1754ee61d5 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-09-29 22:49:02 +02:00
Laurent Destailleur
9eed19578a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-09-29 22:42:49 +02:00
Laurent Destailleur
399a752c78 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-09-29 22:42:13 +02:00