diff --git a/ChangeLog b/ChangeLog index 9af3bdc2a74..d04f080d368 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,7 @@ For users: - New: Created {line_price_ht_locale}, {line_price_vat_locale} and {line_price_ttc_locale} ODT tags. - New: Add filter on project status into task list. By default, only "opened" project are visible. - New: Status "validated" for project are renamed into "opened". +- New: Add barcode fields into user database. - Fix: Project Task numbering customs rule works. TODO @@ -90,11 +91,11 @@ Fix: Enable extrafields for customer order, proposal and invoice lines. This fea Fix: user right on Holiday for month report nor working. Fix: [ bug #1250 ] "Supplier Ref. product" sidebar search box does not work Fix: Bad space in predefined messages. -Fix: Signature was not added for email sent from thirdparty page. +Fix: [ bug #1256 ] Signature was not added for email sent from thirdparty page. Fix: Action event SHIPPING_VALIDATE is not implemented Fix: The customer code was set to uppercase when using numbering module leopard. We must keep data safe of any change. -Fix: Loading actions extrafields fails. +Fix: [ bug #1291 ] Loading actions extrafields fails. Fix: [ bug #1123 ] Paid deposit invoices are always shown as partially paid when fully paid Fix: Corrected project contact types translation. Fix: [ bug #1206 ] PMP price is bad calculated. @@ -102,6 +103,7 @@ Fix: [ bug #520 ] Product statistics and detailed lists are wrong. Fix: [ bug #1240 ] traduction. Fix: [ bug #1238 ] When creating accompte with a %, free product are used for calculation. Fix: [ bug #1280 ] service with not end of date was tagged as expired. +Fix: [ bug #1295 ] Error when creating an agenda extrafield with a number as reference ***** ChangeLog for 3.5 compared to 3.4.* ***** For users: diff --git a/build/exe/doliwamp/httpd.conf.install b/build/exe/doliwamp/httpd.conf.install index d215380aa13..64aff6d42a2 100644 --- a/build/exe/doliwamp/httpd.conf.install +++ b/build/exe/doliwamp/httpd.conf.install @@ -758,5 +758,15 @@ SSLCertificateKeyFile "WAMPROOT/myserver.key" #ExpiresByType application/javascript A2592000 +# To protect Dolibarr with HTTP Auth +# +# Options +Indexes +# AuthUserFile /var/www/.htpasswd +# AuthName "Zone authent basic Dolibarr" +# AuthType Basic +# require user test +# + + # Declare alias for Dolibarr, PHPMyAdmin and other softwares Include "WAMPROOT/alias/*.conf" diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 9ca99f8634b..972858a808f 100644 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -261,7 +261,7 @@ if ($object->id > 0) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } $db->close(); diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 50bc205d9f5..d3766ae27ce 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -137,7 +137,7 @@ if ($object->id > 0) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } llxFooter(); diff --git a/htdocs/compta/deplacement/document.php b/htdocs/compta/deplacement/document.php index 4c44fffa6e5..fb9df1fcb37 100644 --- a/htdocs/compta/deplacement/document.php +++ b/htdocs/compta/deplacement/document.php @@ -128,7 +128,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } llxFooter(); diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php index cc16e5dcf77..1eb5909544b 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -160,7 +160,7 @@ if ($id > 0 || ! empty($ref)) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } $db->close(); diff --git a/htdocs/compta/sociales/document.php b/htdocs/compta/sociales/document.php index 2e86a7a6986..88c888de62e 100644 --- a/htdocs/compta/sociales/document.php +++ b/htdocs/compta/sociales/document.php @@ -167,7 +167,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php index c29d3b3186c..ea951f85941 100644 --- a/htdocs/contrat/document.php +++ b/htdocs/contrat/document.php @@ -130,7 +130,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index e6396776168..891fc35e6f4 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -262,7 +262,9 @@ if ($action == 'add' && $user->rights->contrat->creer) // Define output language if (! empty($conf->global->MAIN_MULTILANGS) && ! empty($conf->global->PRODUIT_TEXTS_IN_THIRDPARTY_LANGUAGE)) { - $prod = new Product($db, $lines[$i]->fk_product); + $prod = new Product($db); + $prod->id=$lines[$i]->fk_product; + $prod->getMultiLangs(); $outputlangs = $langs; $newlang=''; diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index ed4601295c6..916f2cbcd9a 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -481,6 +481,8 @@ class FormOther { $var = !$var; + //var_dump($selectedtask."--".$selectedtask."--".$lines[$i]->fk_project."_".$lines[$i]->id); + // Break on a new project if ($parent == 0) { @@ -508,10 +510,10 @@ class FormOther } // Print task - if ($lines[$i]->id > 0) + if ($lines[$i]->id >= 0) { print '