diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py
index 3a803dba0f5..e0cd13f76d8 100644
--- a/addons/account/models/account_move.py
+++ b/addons/account/models/account_move.py
@@ -164,6 +164,9 @@ class AccountMove(models.Model):
copy=False,
check_company=True,
)
+ statement_id = fields.Many2one(
+ related="statement_line_id.statement_id"
+ )
# === Cash basis feature fields === #
# used to keep track of the tax cash basis reconciliation. This is needed
diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml
index 2c5f3c062d8..15a7c93b4fa 100644
--- a/addons/account/views/account_move_views.xml
+++ b/addons/account/views/account_move_views.xml
@@ -741,6 +741,7 @@
+