[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user