Commit graph

135606 commits

Author SHA1 Message Date
thibdrev
b14d20bc4c
qual fix PHAN warning when using $product->fetch($id) with $id not being an integer (#30019)
* qual fix phan warning on $object->fetch('')

TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($id) is '' of type '' but \Product::fetch() takes int (no real type) defined at htdocs/product/class/product.class.php:2540 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

htdocs/variants/class/ProductCombination.class.php	773

* Update api_categories.class.php

* Update api_categories.class.php

* Update api_products.class.php

* Update api_products.class.php

* Update combinations.php
2024-06-15 15:53:36 +02:00
Laurent Destailleur
99f0888ed0 Fix #30021 2024-06-15 15:52:21 +02:00
Laurent Destailleur
b808254951 Fix bad property 2024-06-15 15:28:35 +02:00
Laurent Destailleur
7c6a4ea197 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 15:09:56 +02:00
Alexandre SPANGARO
8c8d5333c7
Add llxHeader class to Accountancy ExpenseReport (#30025) 2024-06-15 15:09:10 +02:00
Alexandre SPANGARO
c906401a88
Add llxHeader body css to Accountancy generation (#30026) 2024-06-15 15:08:55 +02:00
Alexandre SPANGARO
f1f61355dd
Add llxHeader body css to Accountancy consultation (#30028) 2024-06-15 15:08:21 +02:00
Frédéric FRANCE
50659ede04
fix phpstan (#30030) 2024-06-15 15:07:51 +02:00
Frédéric FRANCE
eecfb5fb43
fix phpstan (#30032) 2024-06-15 15:07:15 +02:00
jyhere
a3b05b6989
FIX: reception batch numbers with letters don't work anymore (#30034)
* FIX: reception batch numbers with letters don't work anymore

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-15 15:06:17 +02:00
thibdrev
dd66a407e4
qual: fix PHAN warnings for ProductCombination.class.php (#30020)
htdocs/variants/class/ProductCombination.class.php	843	TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type array, found an array index of type int, but expected the index to be of type string

htdocs/variants/class/ProductCombination.class.php	843	TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type array, found an array index of type int, but expected the index to be of type string

htdocs/variants/class/ProductCombination.class.php	846	TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type array, found an array index of type int, but expected the index to be of type string

htdocs/variants/class/ProductCombination.class.php	846	TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type array, found an array index of type int, but expected the index to be of type string

htdocs/variants/class/ProductCombination.class.php	851	TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type array, found an array index of type int, but expected the index to be of type string

htdocs/variants/class/ProductCombination.class.php	851	TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type array, found an array index of type int, but expected the index to be of type string
2024-06-15 15:01:40 +02:00
Frédéric FRANCE
0e1467dc21
add phpdoc (#30041)
* add phpdoc

* fix tooltip

* specimen
2024-06-15 14:54:27 +02:00
Laurent Destailleur
e4db878042 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-15 14:53:53 +02:00
Laurent Destailleur
89b56120eb Fix error when import module not compatible with PHP 2024-06-15 14:53:36 +02:00
Laurent Destailleur
d376a2a406 Fix look and feel v19 2024-06-14 19:39:26 +02:00
boudet jean pascal
014aa9567c
add _multiselect on param for checkbox (#29855)
* ass _multiselect  on param for checkbox

* add is_array

* pre-commit

---------

Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-13 15:17:00 +02:00
Pichi1966
d8b4f9248d
# NEW : add ActionComm categories accessible thru API (#30005)
* Update api_categories.class.php

Add Actioncomm Categories management thru API

* Update api_categories.class.php

* Update api_categories.class.php

* Update api_categories.class.php

* Update api_categories.class.php

* Update api_categories.class.php
2024-06-13 08:53:30 +02:00
Lucas Marcouiller
0a1eb954d7
Fix warnings and deprecated (#29999)
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-13 08:51:22 +02:00
Benjamin Falière
9629e70ad0
FIX(orderlist): Double hook execution (#30001)
Hook printFieldPreListTitle was executed twice if  was set by the first execution

Co-authored-by: Benjamin Falière <benjamin.faliere@altairis.fr>
2024-06-13 08:18:34 +02:00
Frédéric FRANCE
17401c2bff
fix phpstan ref_customer is not nullable (#30002) 2024-06-13 08:12:24 +02:00
Frédéric FRANCE
facb1930a7
fix phpstan Property Product::$oldcopy in empty() is not falsy (#30003)
* fix phpstan Property Product::$oldcopy in empty() is not falsy

* add token

* doc

* fix phpstan Property Product::$oldcopy in empty() is not falsy

* fix phpstan Property Product::$oldcopy in empty() is not falsy

* fix phpstan
2024-06-13 08:11:11 +02:00
ems-co
20d9f4048c
FIX|Fix Bug #[29838 Expense payment in accounting report] (#30006)
Fixed the issue where the expense report payment is not calculated in the Accounting-> reporting -> income/expense months.
2024-06-13 08:07:55 +02:00
Frédéric FRANCE
a6ec8a0f22
fix phpstan dead catch (#30007) 2024-06-13 08:07:16 +02:00
Frédéric FRANCE
f4d278b3db
fix odt shipping (#29991)
* fix odt shipping

* fix odt shipping

* fix odt shipping
2024-06-12 16:44:15 +02:00
Anthony Damhet
1d7946e0bd
Add llxHeader class to Accountancy customers and suppliers (#29994) 2024-06-12 16:42:05 +02:00
Laurent Destailleur
830c7b9885 Fix type 2024-06-12 16:17:52 +02:00
Laurent Destailleur
6717ce209d Fix menu link 2024-06-12 15:44:54 +02:00
Laurent Destailleur
c26cd298c3 Debug v20 2024-06-12 14:56:45 +02:00
Laurent Destailleur
8e12d3fd17 Trans 2024-06-12 14:42:02 +02:00
Laurent Destailleur
14ca7e80a6 Fix test 2024-06-12 14:34:24 +02:00
Laurent Destailleur
524f300034 Clean repair page 2024-06-12 14:33:36 +02:00
Laurent Destailleur
c16e3ee5a4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-12 14:05:58 +02:00
Laurent Destailleur
25e9d9b2ba Trans 2024-06-12 13:57:56 +02:00
Laurent Destailleur
53222914ec Doc 2024-06-12 01:44:19 +02:00
Laurent Destailleur
ec42ad7804 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-06-12 00:46:02 +02:00
Laurent Destailleur
da577e8a24 Debug look and feel v20 2024-06-12 00:45:23 +02:00
Frédéric FRANCE
7127b9d499
add token csrf level 3 (#29987)
* add token csrf level 3

* fix

* add token
2024-06-11 20:02:40 +02:00
Frédéric FRANCE
c9233d417b
fix phpstan dead catch (#29986) 2024-06-11 20:02:06 +02:00
Laurent Destailleur
335c5761f9 Fix add a protection to be able to process jobs not closed correctly. 2024-06-11 18:01:42 +02:00
Laurent Destailleur
94a8b85d8d Comment 2024-06-11 17:49:44 +02:00
Frédéric FRANCE
c9f9e44454
add phpdoc (#29982)
* add phpdoc

* token

* token
2024-06-11 01:06:52 +02:00
Frédéric FRANCE
e6ed53fd04
fix phpstan (#29978) 2024-06-11 01:06:15 +02:00
Frédéric FRANCE
6dd5b1cbc3
fix unknown variable (#29979) 2024-06-11 01:05:16 +02:00
Frédéric FRANCE
7d300e0b4b
Token csrf level 3 (#29980)
* add token csrf level 3

* add token csrf level 3
2024-06-11 01:04:33 +02:00
Frédéric FRANCE
939c4df83c
fix warning (#29981) 2024-06-11 01:03:26 +02:00
Frédéric FRANCE
0d33365152
ignore phpstan error (#29974)
* ignore phpstan error

* Update dolgraph.class.php
2024-06-10 20:49:58 +02:00
Frédéric FRANCE
1711c1db45
ignore phpstan error (#29973) 2024-06-10 20:49:43 +02:00
Frédéric FRANCE
770dd621ed
fix phpstan level 4 (#29972)
Offset 'lang' on array{default: '0', key: 'profdemoall', label: 'ChooseYourDemoProfi... in empty() does not exist
2024-06-10 20:49:21 +02:00
Frédéric FRANCE
0d9b4dfa39
fix phpstan level 4 (#29971)
* fix phpstan level 4

* fix phpstan level 4

* fix warning
2024-06-10 20:49:03 +02:00
Frédéric FRANCE
5aff26ad10
exclude function in dol_eval (#29977) 2024-06-10 20:48:08 +02:00