diff --git a/models/__pycache__/account_bank_statement_line.cpython-312.pyc b/models/__pycache__/account_bank_statement_line.cpython-312.pyc
index 1d026d5..60382d9 100644
Binary files a/models/__pycache__/account_bank_statement_line.cpython-312.pyc and b/models/__pycache__/account_bank_statement_line.cpython-312.pyc differ
diff --git a/models/account_bank_statement_line.py b/models/account_bank_statement_line.py
index 60cfdba..20ad70f 100644
--- a/models/account_bank_statement_line.py
+++ b/models/account_bank_statement_line.py
@@ -5,6 +5,14 @@ from odoo.exceptions import UserError
class AccountBankStatementLine(models.Model):
_inherit = 'account.bank.statement.line'
+ is_reconciled = fields.Boolean(string='Is Reconciled', compute='_compute_is_reconciled', store=True)
+
+ @api.depends('move_id')
+ def _compute_is_reconciled(self):
+ """Compute whether the bank line has been reconciled"""
+ for line in self:
+ line.is_reconciled = bool(line.move_id and 'Reconciliation:' in line.move_id.name)
+
def action_reconcile_selected_lines(self):
"""Open the reconciliation wizard for selected lines"""
# Get the selected records from the context
diff --git a/views/bank_statement_line_views.xml b/views/bank_statement_line_views.xml
index 5e79a77..19e688b 100644
--- a/views/bank_statement_line_views.xml
+++ b/views/bank_statement_line_views.xml
@@ -37,14 +37,14 @@
account.bank.statement.line.tree
account.bank.statement.line
-
+
-
+
@@ -60,7 +60,6 @@
-
@@ -70,7 +69,6 @@
-
@@ -93,6 +91,8 @@
+
+