[IMP] account: bank statement reconciliation widget: show bank statement line name AND ref
This commit is contained in:
parent
197ce282bd
commit
52e1b45cda
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue