From bf5df761179416ad4e74f6d6f371f02f4728b0a6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Oct 2023 16:05:20 +0200 Subject: [PATCH 1/5] Prepare 18.0.2 --- htdocs/filefunc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index 0070d587f01..522cc03f7df 100644 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -34,7 +34,7 @@ if (!defined('DOL_APPLICATION_TITLE')) { define('DOL_APPLICATION_TITLE', 'Dolibarr'); } if (!defined('DOL_VERSION')) { - define('DOL_VERSION', '18.0.1'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c + define('DOL_VERSION', '18.0.2'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c } if (!defined('EURO')) { From 779d632367c4b74d44a1cd480a2e3ce4aed4c900 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Oct 2023 16:09:57 +0200 Subject: [PATCH 2/5] Prepare 18.0.2 --- ChangeLog | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/ChangeLog b/ChangeLog index 33335d77545..0b03cadeb77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,82 @@ English Dolibarr ChangeLog -------------------------------------------------------------- +***** ChangeLog for 18.0.2 compared to 18.0.1 ***** +FIX: 17.0 PHP8: supplier invoice class +FIX: #24908 #25824 +FIX: #25780 Various payment - List - Fatal error on PHP8.x +FIX: #25884 +FIX: #25919 +FIX: #25934 #25929 +FIX: Accountancy - Update Quadra export format +FIX: add field "entity" only in $tabfieldinsert +FIX: add warning in the changelog +FIX: Avoid duplicate popup when popup setup to work as ajax +FIX: avoid excess line breaks +FIX: removed some php8 warning +FIX: avoid wrong backtopage url +FIX: bad check return for sendfile +FIX: Bad choice of filter on product/service +FIX: bad from and to +FIX: Bad length for value +FIX: Bad value of accounting account shown in list. Edit fails. +FIX: batch to update non valid backlink check +FIX: better sql request for all cases +FIX: Can't access to rec supplier invoice card +FIX: Can't delete a fourn commande row if a commande ligne is linked +FIX: could not delete a fourn commande row if a commande ligne is linked +FIX: create intervention from time spend +FIX: customer code search filter on invoice list +FIX: #CVE-2023-4197 +FIX: date comparison for user expiration on user list +FIX: Debug the dispatch page to work on corrupted data +FIX: delete useless condition in massaction_pre +FIX: Edition of line on the list of timespent for all projects +FIX: Edition of shipment detail with lot not updating correctly tables +FIX: emailcollector to search existing thirdparty when extract not found +FIX: Error message +FIX: Expense report is created on the wrong entity +FIX: export FEC +FIX: Filter on partnership status +FIX: fix the wrong position of the hook 'printFieldListTitle' and 'printFieldListValue' in the stock at date page +FIX: If PHPIMAP is active, emailcollector "recordjoinpiece" operation will not work +FIX: include +FIX: Kanban view +FIX: link to create purchase order from sale order +FIX: Look and feel search v18 +FIX: message order in ticket public view is not coherent with tickets events tab +FIX: missing contact_id for the trigger +FIX: missing entity filter to customize ticket dictionaries by entity +FIX: Missing error message on CommandeFourn creation +FIX: missing fk_account situation invoice +FIX: missing group "members" + multiple broken features for Multicompany +FIX: missing 'overwrite_trans' for $addzero (Multicompany) +FIX: modification of complementary attributes in commercial proposals +FIX: multicompany compatibility +FIX: multiple broken features for Multicompany !!!! +FIX: Navigation to/from a project from page of projects of a thirdparty +FIX: payment : language is not propagated to following pages +FIX: Prices visible on TakePOS KO with multiprices support +FIX: product list accounting length +FIX: Quick search Intervention redirect to wrong page +FIX: Return right content type +FIX: right access on salary card and tabs +FIX: rights paymentsc paiementcharge +FIX: same broken feature as v18 (Multicompany) +FIX: Save user modif id when changing a contact status +FIX: Social Contrib - List - Fatal error on kanban view PHP8.x & Missing colspan +FIX: thirdparty object in proposal card is not loaded +FIX: Total of holidays is doubled +FIX: translation button +FIX: trigger for email sent from partnership +FIX: uniformize getEntity sql request +FIX: use urlencode for origin and originid +FIX: Various payment - List - Fatal error on php8.1 +FIX: warning when Workboard Responses display non numeric strings +FIX: wrong place of trigger delete +FIX: wrong test + is_int is better for negative integer + + ***** ChangeLog for 18.0.1 compared to 18.0.0 ***** FIX: Adding a product in recurring invoice does not use the correct VAT FIX: API /product/getAttributes From f4166de7045cae6cf3354d3965c90221f727d74c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Oct 2023 16:21:39 +0200 Subject: [PATCH 3/5] Fix warning --- htdocs/core/class/html.form.class.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index bf50f09ea52..bf3f9e378c1 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -9804,8 +9804,6 @@ class Form $ret .= ''; $ret .= ''; } - } else { - dol_print_error('', 'Call of showphoto with wrong parameters modulepart=' . $modulepart); } return $ret; From f74a4c95895c0ae88be20015d65047bd3c9ea051 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 6 Oct 2023 20:10:52 +0200 Subject: [PATCH 4/5] FIX combo value not visible with smartphone for multiselect --- htdocs/theme/eldy/global.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 3994e7a5778..84d286a0979 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1732,11 +1732,11 @@ maxscreenheightless200 { .minwidth500imp { min-width: 250px !important; } } -select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx { +select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection):not(.select2-dropdown), input.widthcentpercentminusx { width: calc(100% - 52px) !important; display: inline-block; } -select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx { +select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection):not(.select2-dropdown), input.widthcentpercentminusxx { width: calc(100% - 70px) !important; display: inline-block; } From 1b246f694e101493434b6f9e0606189b07695965 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 8 Oct 2023 12:04:00 +0200 Subject: [PATCH 5/5] Fix label --- htdocs/product/class/product.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 60dc22c5bb2..2c42c742c8b 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -564,7 +564,7 @@ class Product extends CommonObject 'import_key' =>array('type'=>'varchar(14)', 'label'=>'ImportId', 'enabled'=>1, 'visible'=>-2, 'notnull'=>-1, 'index'=>0, 'position'=>1000), //'tosell' =>array('type'=>'integer', 'label'=>'Status', 'enabled'=>1, 'visible'=>1, 'notnull'=>1, 'default'=>0, 'index'=>1, 'position'=>1000, 'arrayofkeyval'=>array(0=>'Draft', 1=>'Active', -1=>'Cancel')), //'tobuy' =>array('type'=>'integer', 'label'=>'Status', 'enabled'=>1, 'visible'=>1, 'notnull'=>1, 'default'=>0, 'index'=>1, 'position'=>1000, 'arrayofkeyval'=>array(0=>'Draft', 1=>'Active', -1=>'Cancel')), - 'mandatory_period' => array('type'=>'integer', 'label'=>'mandatory_period', 'enabled'=>1, 'visible'=>1, 'notnull'=>1, 'default'=>0, 'index'=>1, 'position'=>1000), + 'mandatory_period' => array('type'=>'integer', 'label'=>'mandatoryperiod', 'enabled'=>1, 'visible'=>1, 'notnull'=>1, 'default'=>0, 'index'=>1, 'position'=>1000), ); /**