Display the transaction ref in the bank statement reconciliation view

Now, only the name and the ref are displayed. Mostly useful with
https://github.com/OCA/bank-statement-reconcile/pull/54
This commit is contained in:
Guewen Baconnier
2014-12-03 15:36:26 +01:00
parent b7390e9331
commit 49b9fe0ffb
4 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
openerp.base_transaction_id = function (instance) {
instance.web.account.bankStatementReconciliationLine.include({
decorateMoveLine: function(line, currency_id) {
this._super(line, currency_id);
if (line.transaction_ref) {
line.q_label += ' (' + line.transaction_ref + ')';
}
},
});
};