Skip to content
Snippets Groups Projects
Commit 7c5fcf4c authored by duongnguyen's avatar duongnguyen
Browse files

[FIX] account: wrong field name on button_open_statement_lines


This is just a typo XD

closes odoo/odoo#135608

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 2cf3dd59
No related branches found
No related tags found
No related merge requests found
......@@ -1000,15 +1000,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment