[FIX] account: wrong field name on button_open_statement_lines
This is just a typo XD closes odoo/odoo#136536 X-original-commit: 7c5fcf4c631cfcb80786566acae7ca4484fcf048 Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -1029,15 +1029,15 @@ class AccountPayment(models.Model):
|
||||
'res_model': 'account.bank.statement.line',
|
||||
'context': {'create': False},
|
||||
}
|
||||
if len(self.reconciled_statement_lines_ids) == 1:
|
||||
if len(self.reconciled_statement_line_ids) == 1:
|
||||
action.update({
|
||||
'view_mode': 'form',
|
||||
'res_id': self.reconciled_statement_lines_ids.id,
|
||||
'res_id': self.reconciled_statement_line_ids.id,
|
||||
})
|
||||
else:
|
||||
action.update({
|
||||
'view_mode': 'list,form',
|
||||
'domain': [('id', 'in', self.reconciled_statement_lines_ids.ids)],
|
||||
'domain': [('id', 'in', self.reconciled_statement_line_ids.ids)],
|
||||
})
|
||||
return action
|
||||
|
||||
|
||||
Reference in New Issue
Block a user