[IMP] account: bank statement reconciliation widget: show bank statement line name...
authorArthur Maniet <ama@odoo.com>
Tue, 16 Sep 2014 15:17:11 +0000 (17:17 +0200)
committerArthur Maniet <ama@odoo.com>
Tue, 16 Sep 2014 15:17:11 +0000 (17:17 +0200)
addons/account/static/src/js/account_widgets.js
addons/account/static/src/xml/account_bank_statement_reconciliation.xml

index 3f55575..a366ff4 100644 (file)
@@ -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;
index 0b7fc3e..a85a8f1 100644 (file)
@@ -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 &gt; 0">
                                       <t t-esc="line.amount_str"/></t></td>