Merge remote-tracking branch 'upstream/7.0' into 7.0
This commit is contained in:
commit
fbb1b344d1
33
ChangeLog
33
ChangeLog
@ -3,6 +3,39 @@ English Dolibarr ChangeLog
|
|||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
***** ChangeLog for 7.0.5 compared to 7.0.4 *****
|
||||||
|
FIX: #3234
|
||||||
|
FIX: #6580
|
||||||
|
FIX: #8741
|
||||||
|
FIX: #9934
|
||||||
|
FIX: avoid Class 'AdherentType' not found
|
||||||
|
FIX: Can't create a thirdparty from member if customer code is mandatory.
|
||||||
|
FIX: Can't generate invoice pdf
|
||||||
|
FIX: contact/adress tab: when changing company ajax combo, the first contact change is not taken into account
|
||||||
|
FIX: Error generating ODT when option to use contact on doc on
|
||||||
|
FIX: Error reported when creation of thirdparty from member fails
|
||||||
|
FIX: filter on product category doesn't work
|
||||||
|
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: If we change customer/supplier rule we can't edit old thirdparty.
|
||||||
|
FIX: Interface regression for bind people. Fix option MAIN_OPTIMIZEFORTEXTBROWSER
|
||||||
|
FIX: Lines are not inserted correctly if VAT have code
|
||||||
|
FIX: OppStatusShort doesn't exists
|
||||||
|
FIX: pdf typhon: order reference duplicate
|
||||||
|
FIX: propal pdf: missing parenthesis for customs code
|
||||||
|
FIX: Same on customer card
|
||||||
|
FIX: same on lines
|
||||||
|
FIX: Select first mail model by default
|
||||||
|
FIX: sql query performance on list_qualified_avoir_supplier_invoices.
|
||||||
|
FIX: task time screen: last fix was overkill
|
||||||
|
FIX: task time screen: prevent users with access to all project from assigning to tasks they're not allowed to do
|
||||||
|
FIX: use discount with multicurrency
|
||||||
|
FIX: Variable name
|
||||||
|
FIX: We want to be able to send PDF of paid invoices
|
||||||
|
FIX: When delete a product, llx_product_association rows are not deleted
|
||||||
|
FIX: wrong occurence number of contract on contact card, we must only count externals
|
||||||
|
|
||||||
***** ChangeLog for 7.0.4 compared to 7.0.3 *****
|
***** ChangeLog for 7.0.4 compared to 7.0.3 *****
|
||||||
FIX: #8984 button create expense report
|
FIX: #8984 button create expense report
|
||||||
FIX: #9032
|
FIX: #9032
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2015-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2015-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2018 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2018 Juanjo Menent <jmenent@2byte.es>
|
||||||
|
* Copyright (C) 2019 Ferran Marcet <fmarcet@2byte.es>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -680,6 +681,7 @@ if ($massaction == 'confirm_createbills')
|
|||||||
}
|
}
|
||||||
|
|
||||||
$id = $objecttmp->id; // For builddoc action
|
$id = $objecttmp->id; // For builddoc action
|
||||||
|
$object = $objecttmp;
|
||||||
|
|
||||||
// Builddoc
|
// Builddoc
|
||||||
$donotredirect = 1;
|
$donotredirect = 1;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
|
||||||
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
@ -192,7 +193,7 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
|
|||||||
// Recipient was provided from combo list
|
// Recipient was provided from combo list
|
||||||
if ($val == 'thirdparty') // Id of third party
|
if ($val == 'thirdparty') // Id of third party
|
||||||
{
|
{
|
||||||
$tmparray[] = $thirdparty->name.' <'.$thirdparty->email.'>';
|
$tmparray[] = str_replace(","," ",$thirdparty->name).' <'.$thirdparty->email.'>';
|
||||||
}
|
}
|
||||||
elseif ($val) // Id du contact
|
elseif ($val) // Id du contact
|
||||||
{
|
{
|
||||||
|
|||||||
@ -400,6 +400,7 @@ function ajax_combobox($htmlname, $events=array(), $minLengthToAutocomplete=0, $
|
|||||||
if (! empty($conf->global->MAIN_DISABLE_AJAX_COMBOX)) return '';
|
if (! empty($conf->global->MAIN_DISABLE_AJAX_COMBOX)) return '';
|
||||||
if (empty($conf->use_javascript_ajax)) 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_USE_JQUERY_MULTISELECT) && ! defined('REQUIRE_JQUERY_MULTISELECT')) return '';
|
||||||
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) return '';
|
||||||
|
|
||||||
if (empty($minLengthToAutocomplete)) $minLengthToAutocomplete=0;
|
if (empty($minLengthToAutocomplete)) $minLengthToAutocomplete=0;
|
||||||
|
|
||||||
|
|||||||
@ -458,6 +458,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Background color THEME_ELDY_BACKBODY
|
// Background color THEME_ELDY_BACKBODY
|
||||||
@ -503,6 +504,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong>ffffff</strong>) ';
|
print ' ('.$langs->trans("Default").': <strong>ffffff</strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// TopMenuBackgroundColor
|
// TopMenuBackgroundColor
|
||||||
@ -550,6 +552,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// LeftMenuBackgroundColor
|
// LeftMenuBackgroundColor
|
||||||
@ -597,6 +600,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// TextTitleColor
|
// TextTitleColor
|
||||||
@ -678,6 +682,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// BackgroundTableLineEvenColor
|
// BackgroundTableLineEvenColor
|
||||||
@ -706,6 +711,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
print ' ('.$langs->trans("Default").': <strong>'.$default.'</strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Text LinkColor
|
// Text LinkColor
|
||||||
@ -755,6 +761,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print ' ('.$langs->trans("Default").': <strong><span style="color: #000078">000078</span></strong>) ';
|
print ' ('.$langs->trans("Default").': <strong><span style="color: #000078">000078</span></strong>) ';
|
||||||
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
print $form->textwithpicto('', $langs->trans("NotSupportedByAllThemes").', '.$langs->trans("PressF5AfterChangingThis"));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use Hover
|
// Use Hover
|
||||||
@ -801,5 +808,38 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Use MAIN_OPTIMIZEFORTEXTBROWSER
|
||||||
|
if ($foruserprofile)
|
||||||
|
{
|
||||||
|
$default=$langs->trans('No');
|
||||||
|
print '<tr class="oddeven">';
|
||||||
|
print '<td>'.$langs->trans("MAIN_OPTIMIZEFORTEXTBROWSER").'</td>';
|
||||||
|
print '<td colspan="'.($colspan-1).'">';
|
||||||
|
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").': <strong>'.yn(0).'</strong>) ';
|
||||||
|
print $form->textwithpicto('', $langs->trans("MAIN_OPTIMIZEFORTEXTBROWSERDesc"));
|
||||||
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (! defined('DOL_APPLICATION_TITLE')) define('DOL_APPLICATION_TITLE','Dolibarr');
|
if (! defined('DOL_APPLICATION_TITLE')) define('DOL_APPLICATION_TITLE','Dolibarr');
|
||||||
if (! defined('DOL_VERSION')) define('DOL_VERSION','7.0.5'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c
|
if (! defined('DOL_VERSION')) define('DOL_VERSION','7.0.6'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c
|
||||||
|
|
||||||
if (! defined('EURO')) define('EURO',chr(128));
|
if (! defined('EURO')) define('EURO',chr(128));
|
||||||
|
|
||||||
|
|||||||
@ -142,6 +142,12 @@ if (empty($reshook)) {
|
|||||||
$tabparam["THEME_ELDY_USE_HOVER"] = 0;
|
$tabparam["THEME_ELDY_USE_HOVER"] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (GETPOST('MAIN_OPTIMIZEFORTEXTBROWSER')) {
|
||||||
|
$tabparam["MAIN_OPTIMIZEFORTEXTBROWSER"] = 1;
|
||||||
|
} else {
|
||||||
|
$tabparam["MAIN_OPTIMIZEFORTEXTBROWSER"] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
$result = dol_set_user_param($db, $conf, $object, $tabparam);
|
$result = dol_set_user_param($db, $conf, $object, $tabparam);
|
||||||
|
|
||||||
header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $id);
|
header('Location: ' . $_SERVER["PHP_SELF"] . '?id=' . $id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user