Files
account-reconcile/base_transaction_id/static/src/js/account_widgets.js
Guewen Baconnier 49b9fe0ffb 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
2014-12-03 15:36:26 +01:00

12 lines
363 B
JavaScript

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 + ')';
}
},
});
};