[FIX] account: reconciliation, stupid mistake when trying to open reconciliation for accounts

should take context.account_ids and not model.account_ids as model is not an object
This commit is contained in:
Cedric Snauwaert
2017-09-18 09:52:36 +02:00
parent 80f916e8e0
commit 52c57b4f11
@@ -1073,7 +1073,7 @@ var ManualModel = StatementModel.extend({
return self._rpc({
model: 'account.move.line',
method: 'get_data_for_manual_reconciliation',
args: ['account', model.account_ids || self.account_ids],
args: ['account', context.account_ids || self.account_ids],
context: context,
})
.then(function (result) {