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
26f788b73a
Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter
2024-10-27 18:21:53 +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
Frédéric FRANCE
3fcb57f911
wip
2024-10-23 19:06:21 +02:00
Frédéric FRANCE
6f95ffe650
Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter
2024-10-22 10:22:54 +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
Frédéric FRANCE
35935a5e17
fix
2024-10-17 13:28:33 +02:00
Frédéric FRANCE
f2ef1486ef
Merge remote-tracking branch 'upstream/develop' into extrafields_object_filter
2024-10-17 08:34:54 +02:00
Frédéric FRANCE
c23f06d5db
fix sql
2024-10-17 08:34:08 +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
Frédéric FRANCE
324fe1e7a7
can filter on object properties
2024-10-16 11:56:49 +02:00
Frédéric FRANCE
348a0d7779
can filter on object properties
2024-10-16 10:37:41 +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
Laurent Destailleur
97eacefa6b
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
2024-09-29 22:41:54 +02:00
Laurent Destailleur
f5fbbcfcb8
Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
2024-09-29 22:40:45 +02:00
Laurent Destailleur
aa7db1adf6
Doc
2024-09-29 15:29:24 +02:00
Florian Mortgat
231fc6ce70
FIX: if you call fetchLines several times, your $object->lines contains duplicates ( #31167 )
2024-09-29 15:27:24 +02:00
Laurent Destailleur
90f49fbd83
Try more complete fix for #31117
2024-09-28 13:05:24 +02:00
Frédéric FRANCE
752eaea64e
fix phpstan ( #31161 )
...
* fix phpstan
* fix phpstan
2024-09-28 11:16:05 +02:00
MDW
c62e015410
Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl ( #31087 )
...
# Qual: Fix (propal|facture|contrat|fichinter)/card, commonobject, files.lib/card_presend.tpl
Fix phan notices in these files
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2024-09-26 23:01:02 +02:00
Laurent Destailleur
fbc5dd4822
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-26 19:36:09 +02:00
Laurent Destailleur
f3c4686805
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2024-09-26 19:22:30 +02:00
Nicolas Domenech
63c775c614
Fix: PHP 8 warning on showOptionals on extrafields type int ( #31139 )
2024-09-26 16:08:59 +02:00
Noé Cendrier
22729516fe
NEW Add mode Customer price + level price ( #31091 )
...
* NEW: customer price and level price together
* NEW: translation
* FIX: If a price per customer exist
* FIX: do not use default price if the customer price and level price option is active
* Don't display the price level amount if the customer price is known
* FIX: double check and php cs correction
* FIX: vatrate call
* FIX: get_htmloutput_msg call
---------
Co-authored-by: Mélina JOUM <melina.joum@altairis.fr >
2024-09-25 23:18:16 +02:00
Laurent Destailleur
cc95331fc6
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-09-23 22:09:24 +02:00
Laurent Destailleur
dcc8bc9936
Fix CSS
2024-09-23 14:10:24 +02:00
MDW
7b4c4d772c
Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related ( #31086 )
...
* Qual: Fix Array of tabs typing hints
# Qual: Fix Array of tabs typing hints
Fixed same typing hints accross several files
* Qual: Fix pdf.lib.php, project.lib.php and related files
# Qual: Fix pdf.lib.php, project.lib.php and related files
Fix most phan notices for pdf.lib.php and project.lib.php.
And fixed some items in other files in the process
* Qual: Fix notifications commande/card advtarget.tpl fichinter/card societe/card supplier_proposal/card
* Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related
# Qual: Fix notices for FormSms, RssParser, ExpenseReportIk and related
Fix notices in the files for the classes above and other files to accomodate
these changes/fixes
2024-09-23 00:37:30 +02:00
Frédéric FRANCE
3ecae791e1
fix indexFile on update ( #30998 )
2024-09-18 00:59:47 +02:00