diff --git a/account_reconcile_oca/models/account_journal.py b/account_reconcile_oca/models/account_journal.py
index a598fa0e..5b69e729 100644
--- a/account_reconcile_oca/models/account_journal.py
+++ b/account_reconcile_oca/models/account_journal.py
@@ -31,3 +31,12 @@ class AccountJournal(models.Model):
if self.get_journal_dashboard_datas()["number_to_reconcile"] > 0:
return False
return _("Well done! Everything has been reconciled")
+
+ def open_action(self):
+ self.ensure_one()
+ if self.type not in ["bank", "cash"]:
+ return super().open_action()
+ action = self.env["ir.actions.actions"]._for_xml_id(
+ "account_reconcile_oca.action_bank_statement_line_reconcile_all"
+ )
+ return action
diff --git a/account_reconcile_oca/views/account_bank_statement_line.xml b/account_reconcile_oca/views/account_bank_statement_line.xml
index 88e72ce5..fccb750d 100644
--- a/account_reconcile_oca/views/account_bank_statement_line.xml
+++ b/account_reconcile_oca/views/account_bank_statement_line.xml
@@ -356,12 +356,12 @@
{'default_journal_id': active_id, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view'}
- tree,kanban
+ kanban,tree