[FIX] account: bank statement reconciliation: use the transaction communication in 'open balance' journal items name
Fixes #4227
This commit is contained in:
parent
e018081b33
commit
77a47a9bee
|
@ -1632,7 +1632,7 @@ openerp.account = function (instance) {
|
||||||
var dict = {};
|
var dict = {};
|
||||||
|
|
||||||
dict['account_id'] = this.st_line.open_balance_account_id;
|
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['debit'] = balance;
|
||||||
if (balance < 0) dict['credit'] = -1*balance;
|
if (balance < 0) dict['credit'] = -1*balance;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue