Commit Graph

145227 Commits

Author SHA1 Message Date
Frédéric FRANCE
ec4d6bf7c8 fix missing translations 2025-02-11 10:09:34 +01:00
MarcVJ
33475b8e92 Added one line to allow use of price_ttc in calculated extra fields
price_ttc sometimes needs to be used in extra fields to compute price ttc per kilo or per liter.
Currently price_ttc does not compute in the product list, so price per kilo cannot compute either.
This allows to add an extra field "Price TTC per kilo" like this : $object->price_ttc / $object->weight.
$object->price_ttc will work because the added line puts price_ttc into $products_static, which is put in $object.
2025-02-11 10:00:06 +01:00
Frédéric FRANCE
fa35c6e776 fix missing translations 2025-02-11 09:57:01 +01:00
Hystepik
fcc391f6c4 Merge branch 'new-move-of-pdf-configuration-in-sepcific-page' of github.com:Hystepik/dolibarr into new-move-of-pdf-configuration-in-sepcific-page 2025-02-11 09:46:22 +01:00
Hystepik
94e12da906 fix as asked 2025-02-11 09:46:06 +01:00
Lucas Marcouiller
a0812cf7be Merge branch 'develop' into new-move-of-pdf-configuration-in-sepcific-page 2025-02-11 09:18:47 +01:00
Laurent Destailleur
09df62600e Merge pull request #32616 from rycks/18.0_fix_zero_is_a_value_into_dictionnary
zero could be a value
2025-02-11 09:07:29 +01:00
Eric Seigne
94eaf5d089 cancel first idea 2025-02-11 00:32:57 +01:00
Eric Seigne
d04ac67ecd backport 20.0 solution 2025-02-11 00:31:59 +01:00
MDW
928402c847 Qual: Fix phan (project-1) 2025-02-11 00:22:39 +01:00
MDW
6b6acbd4a5 NEW: vcard (vcf) download for third party (#31957)
# NEW: vcard (vcf) download for third party (#31957)

This adds a download link to fetch a vcard for a Third party.
2025-02-10 22:32:27 +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
Anthony V
b41205302e Fix: Use getDolGlobalString 2025-02-10 21:21:59 +01:00
Anthony V
a019f9fe74 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 21:21:52 +01:00
Anthony V
bc6e3a81da 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 21:21:43 +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
Laurent Destailleur
982f6d6dc2 Doc 2025-02-10 19:10:02 +01:00
Laurent Destailleur
e9a3926c7e Fix regression 2025-02-10 19:08:47 +01:00
Laurent Destailleur
8703ceaadb Debug v21 2025-02-10 18:09:51 +01:00
Laurent Destailleur
95622c22df Close #32670 2025-02-10 18:09:32 +01:00
Laurent Destailleur
0064958589 Fix debug v21 2025-02-10 17:16:42 +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
Hystepik
c514d82d45 fix Ci 2025-02-10 15:54:52 +01:00
Hystepik
c5b40a1238 try fix ci 2025-02-10 15:48:21 +01:00
NefiteTifall | Nicolas
4cceac1f46 FIX: Correct HTML escaping function 2025-02-10 15:48:04 +01:00
Hystepik
250ec4ad86 fix CI 2025-02-10 15:19:48 +01:00
Hystepik
996109e9be New move pdf configuration in propal module configuration 2025-02-10 15:12:55 +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
96368b8e0e Merge branch 'develop' into patch-23 2025-02-10 13:25:48 +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
81b9286ea4 Merge pull request #32999 from Easya-Solutions/18_FIX_missing_unset_post
Fix missing unset post fourn_ref
2025-02-10 13:21:34 +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
8e61c27793 Update index.php 2025-02-10 13:20:04 +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