diff --git a/ChangeLog b/ChangeLog index ef4ee57b6f5..834f274fdb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -120,6 +120,71 @@ Following changes may create regressions for some external modules, but were nec * Remove the no more used and deprecated dol_print_graph function +***** ChangeLog for 8.0.4 compared to 8.0.3 ***** +FIX: #10030 better german chart +FIX: #10036 +FIX: #10080 Supplier translations are in english +FIX: #10183 using backport of fix done in 9.0 +FIX: #10218 Bad redirection after deleting a user or group +FIX: #3234 +FIX: #6580 +FIX: #8741 +FIX: #9629 #9625 +FIX: #9971 +FIX: avoid Class 'AdherentType' not found +FIX: Can relaunch install on v8 +FIX: Can't create a thirdparty from member if customer code is mandatory. +FIX: Can't delete a line of minimal stock per warehouse +FIX: check if "entity" is already defined in "$param" +FIX: contact/address tab issue when changing company +FIX: contact/adress tab: when changing company ajax combo, the first contact change is not taken into account +FIX: CVE-2018-19799 +FIX: CVE-2018-19992 +FIX: CVE-2018-19993 +FIX: CVE-2018-19994 +FIX: CVE-2018-19995 and CVE-2018-19998 +FIX: Error reported when creation of thirdparty from member fails +FIX: export only prices of the current entity ! +FIX: Extrafields on shipment module +FIX: filter on product category doesn't work +FIX: form actions: select_type_actions could be too small + bad $db init +FIX: form actions: select_type_actions could be too small + bad init +FIX: fourn payment modes musn't be available on customer docs +FIX: Function updatePrice with wrong parameters +FIX: hidden extrafield +FIX: if qty is 0 +FIX: If we change customer/supplier rule we can't edit old thirdparty. +FIX: lang not loaded +FIX: Lines are not inserted correctly if VAT have code +FIX: marge sign +FIX: Method setValid not found +FIX: Migration do not create not used table +FIX: missing action "edit" for the hook +FIX: missing field "visible" +FIX: Missing last month on vat report per month +FIX: mode is only customer in stats fichinter +FIX: OppStatusShort doesn't exists +FIX: Remote ip detection was wrong with proxy (example: cloudflare) +FIX: Removed not use table +FIX: Replenishment with option STOCK_ALLOW_ADD_LIMIT_STOCK_BY_WAREHOUSE +FIX: responsive +FIX: Same on customer card +FIX: same on lines +FIX: screen size fall +FIX: Select first mail model by default +FIX: slow SQL query on creating a new supplier invoice +FIX: sql query performance on list_qualified_avoir_supplier_invoices. +FIX: supplier order list keep socid +FIX: Same on customer card +FIX: same on lines +FIX: screen size fall +FIX: Select first mail model by default +FIX: slow SQL query on creating a new supplier invoice +FIX: sql query performance on list_qualified_avoir_supplier_invoices. +FIX: supplier order list keep socid +FIX: Vendor translations are in english +FIX: Warning: count() +FIX: We want to be able to send PDF of paid invoices ***** ChangeLog for 8.0.3 compared to 8.0.2 ***** FIX: #9161 diff --git a/htdocs/core/lib/ajax.lib.php b/htdocs/core/lib/ajax.lib.php index e3a0f44c9ac..1fcda0e34d2 100644 --- a/htdocs/core/lib/ajax.lib.php +++ b/htdocs/core/lib/ajax.lib.php @@ -382,6 +382,7 @@ function ajax_combobox($htmlname, $events=array(), $minLengthToAutocomplete=0, $ if (! empty($conf->global->MAIN_DISABLE_AJAX_COMBOX)) return ''; if (empty($conf->use_javascript_ajax)) return ''; if (empty($conf->global->MAIN_USE_JQUERY_MULTISELECT) && ! defined('REQUIRE_JQUERY_MULTISELECT')) return ''; + if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) return ''; if (empty($minLengthToAutocomplete)) $minLengthToAutocomplete=0; diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index 033d4eb37fe..5747c0a5c0e 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -467,6 +467,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // Background color THEME_ELDY_BACKBODY @@ -513,6 +514,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // TopMenuBackgroundColor @@ -561,6 +563,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // LeftMenuBackgroundColor @@ -609,6 +612,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // TextTitleColor for title of Pages @@ -719,6 +723,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // BackgroundTableLineEvenColor @@ -748,6 +753,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // Text LinkColor @@ -798,6 +804,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis")); print ''; print ''; + print ''; } // Use Hover @@ -888,5 +895,38 @@ function show_theme($fuser,$edit=0,$foruserprofile=false) print ''; } + // Use MAIN_OPTIMIZEFORTEXTBROWSER + if ($foruserprofile) + { + $default=$langs->trans('No'); + print ''; + print ''.$langs->trans("MAIN_OPTIMIZEFORTEXTBROWSER").''; + print ''; + if ($edit) + { + print $form->selectyesno('MAIN_OPTIMIZEFORTEXTBROWSER', $fuser->conf->MAIN_OPTIMIZEFORTEXTBROWSER, 1); + } + else + { + if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) + { + print yn($fuser->conf->MAIN_OPTIMIZEFORTEXTBROWSER); + } + else + { + print yn(1); + if (empty($fuser->conf->MAIN_OPTIMIZEFORTEXTBROWSER)) print ' ('.$langs->trans("ForcedByGlobalSetup").')'; + } + } + print '   ('.$langs->trans("Default").': '.yn(0).') '; + print $form->textwithpicto('', $langs->trans("MAIN_OPTIMIZEFORTEXTBROWSERDesc")); + print ''; + print ''; + } + else + { + // TODO + } + print ''; } diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index 9e5072ba211..b1f0fc68254 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -463,6 +463,7 @@ if (! GETPOST('action','aZ09') || preg_match('/upgrade/i',GETPOST('action','aZ09 'MAIN_MODULE_DEPLACEMENT'=>'newboxdefonly', 'MAIN_MODULE_DON'=>'newboxdefonly', 'MAIN_MODULE_ECM'=>'newboxdefonly', + 'MAIN_MODULE_EXTERNALSITE'=>'newboxdefonly', 'MAIN_MODULE_FACTURE'=>'newboxdefonly', 'MAIN_MODULE_FOURNISSEUR'=>'newboxdefonly', 'MAIN_MODULE_HOLIDAY'=>'newboxdefonly', diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 40ef36ce4e8..303f3103a05 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -1436,7 +1436,7 @@ class Societe extends CommonObject } // Use first price level if level not defined for third party - if (! empty($conf->global->PRODUIT_MULTIPRICES) && empty($this->price_level)) $this->price_level=1; + if ((! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUIT_CUSTOMER_PRICES_BY_QTY_MULTIPRICES)) && empty($this->price_level)) $this->price_level=1; return $result; } diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index 0c43a12361d..6828870840c 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -150,6 +150,12 @@ if (empty($reshook)) { $tabparam["THEME_ELDY_USE_CHECKED"] = 0; } + if (GETPOST('MAIN_OPTIMIZEFORTEXTBROWSER')) { + $tabparam["MAIN_OPTIMIZEFORTEXTBROWSER"] = 1; + } else { + $tabparam["MAIN_OPTIMIZEFORTEXTBROWSER"] = 0; + } + $result = dol_set_user_param($db, $conf, $object, $tabparam); header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $id);