diff --git a/ChangeLog b/ChangeLog index ef81aea3d19..b0684cbcf2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ English Dolibarr ChangeLog -------------------------------------------------------------- + + ***** ChangeLog for 10.0.0 compared to 9.0.0 ***** For Users: NEW: Module "Ticket" is available as a stable module. @@ -34,6 +36,57 @@ Following changes may create regressions for some external modules, but were nec * Deprecated property ->fk_departement is now ->state_id everywhere. + +***** ChangeLog for 9.0.2 compared to 9.0.1 ***** +FIX: #10822 +FIX: Accountancy - Format EBP import +FIX: A page of a site replaced with another when switching in edit mode +FIX: Autodetect buy price for invoices autogenerated with templates. +FIX: Avoid error 500 when extension php-intl not loaded +FIX: bad check on type of expense report (mandatory status not working) +FIX: Bad label of status for members (must be short version in list) +FIX: Can not create contract with numbering module without autogen rule +FIX: Can't set default value of extrafield of type varchar +FIX: check only if invoice module is enabled (bank is check after) +FIX: counter of permissions in badge was wrong +FIX: default value of language of thirdparty +FIX: Don't show accountingjournal:getNomUrl without data +FIX: Duplicate executeHook function +FIX: Edit of personalized groups +FIX: Error with various & salary payment on project +FIX: extrafields always visible on view mode +FIX: function not found +FIX: If we build one invoice for several orders, we must put the ref of + orders on lines. +FIX: expensereport must be in $check array +FIX: missing entity filter and wrong var name +FIX: Missing field "In sale" in list +FIX: missing hook completeTabsHead in margins module +FIX: missing hook in agenda export +FIX: missing vat_src_code when inserting an expense report line +FIX: More complete auto setup of barcode module +FIX: need to round with 2 decimals to avoid movements not correctly balanced +FIX: no need to test anything to display documents tabs on expense report +FIX: old export models was not visible +FIX: Param keepn must be 1 when dol_escape_htmltag used for textarea +FIX: possibility to set up payment mode when invoice module is disabled +FIX: problem with sign of various payment in project preview +FIX: Remane of project +FIX: setup of module export +FIX: several hooks in shipping/delivery cards +FIX: supplier discount was not retrieved when choosing a product +FIX: The minimum amount filter does not work in the VAT report per customer +FIX: Tooltip on click was ko on smartphone +FIX: translation +FIX: useless join +FIX: Vat src code lost after editing expense report line +FIX: we need to keep originline special_code +FIX: Can't insert if there is extrafields mandatory on another entity. +FIX: error in create object when 2 extra fields are mandatory in 2 different entities +FIX: when we create deposit with multi tva, we mustn't add line if amount = 0 (example when we have a 100% reduc on one of origin invoice line) +FIX: wrong redirect link on holiday refuse +NEW: Add more complete error messages in log on stripe payments + ***** ChangeLog for 9.0.1 compared to 9.0.0 ***** FIX: #10381 FIX: #10460 compatibility with MariaDB 10.4 diff --git a/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php b/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php index 1a91f2dafbb..7844bea0896 100644 --- a/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php +++ b/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php @@ -150,6 +150,7 @@ if (dol_strlen($search_year)) { $sql .= " AND ( bk.doc_date BETWEEN '" . $db->idate($date_start) . "' AND '" . $db->idate($date_end) . "' )"; } +$sql.= ' AND bk.entity IN ('.getEntity('accountingbookkeeping').')'; $sql .= $db->order($sortfield, $sortorder); $debit = 0; diff --git a/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php b/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php index df1d4317252..9b8d7b684e5 100644 --- a/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php +++ b/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php @@ -142,13 +142,12 @@ $sql .= " bk.subledger_account, bk.numero_compte , bk.label_compte, bk.debit, "; $sql .= " bk.credit, bk.montant , bk.sens , bk.code_journal , bk.piece_num, bk.lettering_code "; $sql .= " FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping as bk"; $sql .= " WHERE (bk.subledger_account = '" . $object->code_compta_fournisseur . "' AND bk.numero_compte = '" . $conf->global->ACCOUNTING_ACCOUNT_SUPPLIER . "' )"; - if (dol_strlen($search_year)) { $date_start = dol_mktime(0, 0, 0, 1, 1, $search_year); $date_end = dol_mktime(23, 59, 59, 12, 31, $search_year); $sql .= " AND ( bk.doc_date BETWEEN '".$db->idate($date_start)."' AND '".$db->idate($date_end)."' )"; } - +$sql.= ' AND bk.entity IN ('.getEntity('accountingbookkeeping').')'; $sql.= $db->order($sortfield, $sortorder); $debit = 0; diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index 2108cb82eef..812d1b9eccf 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -894,7 +894,7 @@ if ($id > 0 || ! empty($ref)) print $langs->trans("WarehouseSource"); //print ''; //print '