Commit graph

142368 commits

Author SHA1 Message Date
Frédéric FRANCE
ec4d6bf7c8
fix missing translations 2025-02-11 10:09:34 +01:00
Frédéric FRANCE
fa35c6e776
fix missing translations 2025-02-11 09:57:01 +01:00
Laurent Destailleur
5051faa325
Merge pull request #33012 from mdeweerd/phan/2025.2.10.stock-2
Qual: Fix phan (stock-2)
2025-02-10 21:42:31 +01:00
Laurent Destailleur
fe43393b6e
Merge pull request #33011 from homer8173/patch-44
Update html.formmargin.class.php
2025-02-10 21:41:39 +01:00
Laurent Destailleur
0fbaad635a
Update html.formmargin.class.php 2025-02-10 21:39:55 +01:00
Laurent Destailleur
18179b8ebf
Merge pull request #33009 from GregoryBT/patch-1
fix: Remove fk_product to Prevent Undefined Key Error
2025-02-10 21:36:58 +01:00
Laurent Destailleur
c94395ff10
Merge pull request #33004 from AnthonyVallenet/patch-1
Fix: Avoid undefined array key warning in form setup
2025-02-10 21:32:42 +01:00
Laurent Destailleur
6c44d74554
Merge pull request #33008 from AnthonyVallenet/patch-3
Fix: Prevent invalid foreach() on extrafields label in product/price.php
2025-02-10 21:20:46 +01:00
MDW
076399b11b
Qual: Fix phan (stock-2) 2025-02-10 21:20:32 +01:00
Laurent Destailleur
968936d390
Merge pull request #33007 from AnthonyVallenet/patch-2
Fix: Prevent warnings and fatal error in admin/mrp.php
2025-02-10 21:19:46 +01:00
Laurent Destailleur (aka Eldy)
2954234420 FIX #33003 2025-02-10 21:04:12 +01:00
Laurent Destailleur (aka Eldy)
3a212e4ddb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-10 19:48:46 +01:00
Norbert Penel
a7a2014215
Update html.formmargin.class.php
Under PHP 8 , can't add string and float on following lines. So i propose to convert to avoid errors
2025-02-10 17:10:41 +01:00
Anthony V
a0eaf653e6
Fix: Use getDolGlobalString 2025-02-10 16:09:47 +01:00
Anthony V
2358dc81a6
Fix: Prevent invalid foreach() on extrafields label in product/price.php
- Ensured $extralabels is always an array before looping to prevent warnings.
- Fixes "foreach() argument must be of type array|string given" error.
- Improves stability when handling extrafields.
2025-02-10 16:05:25 +01:00
Gregory Toccanier
e26b5ae428
Update facture.class.php
Delete fk_product when $prodids[$prodid] is undefined
2025-02-10 16:00:50 +01:00
Anthony V
eac36245bb
Fix: Prevent warnings and fatal error in admin/mrp.php
- Fixed "Undefined property: stdClass::$MRP_MO_ADDON_PDF" by checking existence with !empty().
- Fixed "Class 'Product' not found" by adding require_once for product.class.php.
- Improves stability and prevents unexpected crashes in MRP module.
2025-02-10 15:55:28 +01:00
Anthony V
0062c9929a
Fix: Avoid undefined array key warning in form setup
- Added a check to ensure 'isMandatory' exists in $item->fieldParams before accessing it.
- Prevents "Undefined array key" warning in html.formsetup.class.php.
- Improved robustness by using !empty() to handle missing or false values safely.
2025-02-10 15:10:28 +01:00
Laurent Destailleur
5e47f63c8b
Merge pull request #32886 from altairis-noe/element_type
QUAL: deleteObjectLinked() element value matching add_object_linked()
2025-02-10 13:46:46 +01:00
Laurent Destailleur
b3f45f78bd
Merge pull request #33001 from Dolibarr/phpstan-baseline
PHPStan > Update baseline
2025-02-10 13:32:19 +01:00
Laurent Destailleur
03c8d418ae
Merge pull request #33000 from mdeweerd/phan/2025.2.8.stock-1
Qual: Fix phan notices (stock-1)
2025-02-10 13:23:47 +01:00
Laurent Destailleur
8c6e0021fd
Merge pull request #32997 from MarcVJ/patch-1
Added one line to allow use of price_ttc in calculated extra fields (…
2025-02-10 13:20:58 +01:00
Laurent Destailleur
7a27235379
Merge pull request #32994 from mdeweerd/phan/fix2025.2.8.product-2
Qual: Fix phan (product-2)
2025-02-10 13:18:59 +01:00
Laurent Destailleur
d1d5815539
Merge pull request #32989 from aspangaro/20_fixtdtimesheet
FIX Timesheet per month - table header with <th>
2025-02-10 13:18:37 +01:00
Laurent Destailleur
caf8f43024
Merge pull request #32993 from mdeweerd/phan/2025.2.8.ifsql
Qual: Fix ifsql argument type
2025-02-10 13:16:46 +01:00
Laurent Destailleur
0691c18355
Merge pull request #32992 from mdeweerd/phan/2025.2.8.product
Qual: Fix phan (product-part-1) implies fixing unit types
2025-02-10 13:15:37 +01:00
Laurent Destailleur
5b37bcd342
Merge branch 'develop' into 20_fixtdtimesheet 2025-02-10 13:13:32 +01:00
Laurent Destailleur
a9b9e98bc1
Merge pull request #32985 from Easya-Solutions/new-shipment-card-product-in-cache
QUAL shipment with product in cache
2025-02-10 13:10:20 +01:00
Dolibot
1f61789e5b PHPStan > Update baseline 2025-02-10 12:06:47 +00:00
Laurent Destailleur (aka Eldy)
09ba5162e7 Clean code 2025-02-10 13:03:37 +01:00
Laurent Destailleur (aka Eldy)
c45adc4e96 Close #32966 2025-02-10 12:55:45 +01:00
Laurent Destailleur (aka Eldy)
b702561969 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-02-10 12:42:59 +01:00
Laurent Destailleur (aka Eldy)
461a576669 Close #32966 2025-02-10 12:42:41 +01:00
Laurent Destailleur
2450886446
Merge pull request #32978 from hregis/new_add_hook_load_cache_dictionary
QUAL add hook "loadDictionaryCache"
2025-02-10 12:10:49 +01:00
MDW
c9bedf8fe2
Qual: Fix phan notices (stock-1) 2025-02-10 11:32:05 +01:00
MarcVJ
4c3329481a
Removed incorrect white space on line 1632 2025-02-09 22:33:56 +01:00
MarcVJ
99fac7c8d3
Added one line to allow use of price_ttc in calculated extra fields (ex : price per kilo) 2025-02-09 22:20:05 +01:00
MDW
1a2d4ed6be
Qual: Fix phan (product-2) 2025-02-09 20:14:25 +01:00
MDW
c9d69aa954
Qual: Update phan baseline 2025-02-09 20:14:23 +01:00
MDW
4168a16151
Qual: Fix ifsql argument type 2025-02-09 20:14:22 +01:00
MDW
7952e82a6f
Update baseline 2025-02-09 20:14:21 +01:00
MDW
2130f1395a
Qual: Fix phan (product-part-1) implies fixing unit types 2025-02-09 20:14:20 +01:00
Laurent Destailleur
bd852dbf5c
Merge pull request #32991 from Dolibarr/phpstan-baseline
PHPStan > Update baseline
2025-02-09 19:47:14 +01:00
Laurent Destailleur
db08b160fa
Merge pull request #32990 from mdeweerd/phan/2025.2.8
Qual: Fix phan notices (multicurrency,opcache,opensurvey,partnership)
2025-02-09 19:46:34 +01:00
Dolibot
c0e4894a17 PHPStan > Update baseline 2025-02-09 12:06:23 +00:00
MDW
f45b1c0540
Update phan baseline 2025-02-08 14:38:02 +01:00
MDW
8a2a1331f7
Qual: Fix phan (printing) 2025-02-08 14:24:26 +01:00
MDW
7bd354ef17
Qual: Fix phan (partnership) 2025-02-08 14:17:44 +01:00
MDW
23ff8b378c
Qual: Fix phan: dol_mktime GETPOST args to GETPOSTINT 2025-02-08 14:06:14 +01:00
MDW
43ed58a0e9
Ignore phpstan notice in baseline 2025-02-08 13:54:24 +01:00