From 52e1b45cda55a72e0a904bed0a34c7aa6ce9ab5b Mon Sep 17 00:00:00 2001 From: Arthur Maniet <ama@odoo.com> Date: Tue, 16 Sep 2014 17:17:11 +0200 Subject: [PATCH] [IMP] account: bank statement reconciliation widget: show bank statement line name AND ref --- addons/account/static/src/js/account_widgets.js | 1 - .../static/src/xml/account_bank_statement_reconciliation.xml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/account/static/src/js/account_widgets.js b/addons/account/static/src/js/account_widgets.js index 3f55575e47d7..a366ff43dd83 100644 --- a/addons/account/static/src/js/account_widgets.js +++ b/addons/account/static/src/js/account_widgets.js @@ -711,7 +711,6 @@ openerp.account = function (instance) { return self.model_bank_statement_line .call("get_data_for_reconciliations", [[self.st_line_id], excluded_move_lines_ids, self.do_load_reconciliation_proposition]) .then(function (data) { - console.log(data); self.st_line = data[0].st_line; self.decorateStatementLine(self.st_line); self.partner_id = data[0].st_line.partner_id; diff --git a/addons/account/static/src/xml/account_bank_statement_reconciliation.xml b/addons/account/static/src/xml/account_bank_statement_reconciliation.xml index 0b7fc3e657c6..a85a8f1f6b39 100644 --- a/addons/account/static/src/xml/account_bank_statement_reconciliation.xml +++ b/addons/account/static/src/xml/account_bank_statement_reconciliation.xml @@ -75,7 +75,9 @@ <td class="cell_action"><span class="toggle_match glyphicon glyphicon-cog"></span></td> <td class="cell_account_code"><t t-esc="line.account_code"/></td> <td class="cell_due_date"><t t-esc="line.date"/></td> - <td class="cell_label"><t t-if="line.name" t-esc="line.name"/> + <td class="cell_label"> + <t t-if="line.name" t-esc="line.name"/> + <t t-if="line.ref"> : <t t-esc="line.ref" /></t> <t t-if="line.amount_currency_str"> (<t t-esc="line.amount_currency_str"/>)</t></td> <td class="cell_debit"><t t-if="line.amount > 0"> <t t-esc="line.amount_str"/></t></td> -- GitLab