mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
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:
11
base_transaction_id/static/src/js/account_widgets.js
Normal file
11
base_transaction_id/static/src/js/account_widgets.js
Normal 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 + ')';
|
||||
}
|
||||
},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user