Commit graph

151292 commits

Author SHA1 Message Date
Laurent Destailleur
54dc80d8f3 Debug v21 2024-11-05 10:20:28 +01:00
Laurent Destailleur
eff4ee9fae Debug v21 2024-11-05 10:14:40 +01:00
Laurent Destailleur
9194b7f382 Debug v21 2024-11-05 01:57:36 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Laurent Destailleur
e7d628109d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-05 00:37:13 +01:00
Laurent Destailleur
a5da4bd054 Close #31494 2024-11-05 00:36:51 +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
1857b22aed Fix trans 2024-11-04 23:17:22 +01:00
Laurent Destailleur
4886f6ce63 Debug v21 2024-11-04 21:28:59 +01:00
Laurent Destailleur
a781211d2f Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-04 18:50:20 +01:00
Laurent Destailleur
2e4cba02cd Fix missing token 2024-11-04 18:49:35 +01:00
Laurent Destailleur
a417426729 Fix missing token and clean code 2024-11-04 18:45:56 +01:00
Laurent Destailleur
0403e2d20f Look and feel v21 2024-11-04 18:31:23 +01:00
Laurent Destailleur
c79181f9ad Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-04 16:42:59 +01:00
Laurent Destailleur
4d9283d8ab Clean code 2024-11-04 16:41:50 +01:00
Alexandre SPANGARO
3c81211b80
NEW Custom accounting reports (#31673)
* NEW Custom accounting reports

* Copyright

* FIX Pre-commit

* FIX Pre-commit

* Fix Phan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 16:38:17 +01:00
Laurent Destailleur
7a74831be4 Fix phan 2024-11-04 16:38:11 +01:00
Laurent Destailleur
560da768b3 Debug v20 2024-11-04 14:59:22 +01:00
Laurent Destailleur
7e6a41bbd9 Share common code 2024-11-04 13:56:05 +01:00
Laurent Destailleur
029ab222c7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-04 13:02:40 +01:00
omogenot
9e40176056
NEW: INTRA VAT ID field optionally mandatory and/or invoice mandatory in thirdparty module setup (#31663)
* Update societe.php

* Add VAT mandatory and VAT invoice mandatory setup
* Reuse `setprofid`, `setprofidmandatory` and `setprofidinvoicemandatory` functions to update constants by using same mechanism with $key='VAT_INTRA'

* Update societe.class.php

Add VAT value check is company uses VAT and VAT is mandatory

* Update facture.class.php

Add VAT invoice mandatory checking

* Update facture.class.php

Typo

* Update societe.php

Fix comment
2024-11-04 13:02:25 +01:00
Laurent Destailleur
0680d4e910 Clean code 2024-11-04 12:37:28 +01:00
Christian Humpel
578d2fe83f
Fix #31677 (#31678) 2024-11-04 12:34:44 +01:00
iLLixM
c580e5fb5e
FIX #30432 make thirdparty code_client and code_compta modifiable via API (#31668)
* make thirdparty code_client and code_compta modifiable via API

make code_client and code_compta modifiable via API call ( put /thirdparties/{id} ) for existing third parties

* fix: thirdparty code_client and code_compta modifiable via API (#30432)

make code_client and code_compta modifiable via API call ( put /thirdparties/{id} ) for existing third parties
2024-11-04 12:34:21 +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
Christian Humpel
bb3589e63e
Fix #31670 (#31671)
Invalid Type
2024-11-04 12:25:00 +01:00
Frédéric FRANCE
0349f5b513
fix unable to resolve template T (#31680) 2024-11-04 12:24:18 +01:00
Laurent Destailleur
fe547bb0df Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-04 11:38:10 +01:00
Laurent Destailleur
78e6f8ad03 Avoid duplicate info 2024-11-04 11:37:53 +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
Laurent Destailleur
7538c1ea2d Add fk_task in actioncomm 2024-10-31 19:48:54 +01:00
Laurent Destailleur
8e1e980aae Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-31 19:42:30 +01:00
Laurent Destailleur
870a78a0e8 FIX bad test on permission makes agenda event creation on object not
linked to object.
2024-10-31 19:40:11 +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
EnjoyFelix
9d67bc3428
Check if the society module is enabled before limiting the result in the agenda (#31654)
Co-authored-by: Elisée Chemin <elisee.chemin@tetras-libre.fr>
2024-10-31 18:43:18 +01:00
Laurent Destailleur
4e5f6f6bd3 Merge branch 'Tetras-Libre-removing-a-resource-removes-the-assignee' into develop 2024-10-31 18:41:05 +01:00
Laurent Destailleur
a9b48ec679 Complete #31656 2024-10-31 18:40:42 +01:00
Laurent Destailleur
034f77e8f7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-10-31 18:38:47 +01:00
Laurent Destailleur
7543690351 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-31 18:29:43 +01:00
Laurent Destailleur
f68b248c22 Help debug 2024-10-31 18:29:15 +01:00
brice.l
94292a1740
Update html.formintervention.class.php (#31658)
This id should be set with the html name field
2024-10-31 18:24:29 +01:00
Zephyriony
ecd2f44027
FIX link to list to view overdue invoices (#31660) 2024-10-31 18:03:20 +01:00
Frédéric FRANCE
1e062b10c6
Update bonprelevement.class.php (#31649) 2024-10-31 18:02:29 +01:00
Laurent Destailleur
3b2c7a32f7 Fix regression 2024-10-31 16:29:19 +01:00
Laurent Destailleur
b70df2fcc8 Add log 2024-10-31 16:18:55 +01:00
Laurent Destailleur
d42465ff1f FIX error message in xls import when stream zip is not availabe. 2024-10-31 14:35:10 +01:00
Laurent Destailleur
bcc75852c7 CSS 2024-10-31 01:18:37 +01:00