[FIX] account: bank statement reconciliation: use the transaction communication in 'open balance' journal items name

Fixes #4227
This commit is contained in:
Arthur Maniet
2014-12-17 12:37:03 +01:00
parent e018081b33
commit 77a47a9bee
@@ -1632,7 +1632,7 @@ openerp.account = function (instance) {
var dict = {};
dict['account_id'] = this.st_line.open_balance_account_id;
dict['name'] = _t("Open balance");
dict['name'] = this.st_line.name + ' : ' + _t("Open balance");
if (balance > 0) dict['debit'] = balance;
if (balance < 0) dict['credit'] = -1*balance;