From e3bb3cd9c477b5c73025c416e62d351099d17b52 Mon Sep 17 00:00:00 2001 From: "Florian(flg)" Date: Thu, 13 Apr 2023 06:49:17 +0000 Subject: [PATCH] [IMP] account: Add transaction_details field on bank statement line For some reasons, we need to store information about a transaction in the bank statement line. This commit adds the field to handle this information. task-3270965 closes odoo/odoo#118943 Related: odoo/enterprise#39955 Signed-off-by: Laurent Smet --- addons/account/models/account_bank_statement_line.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/account/models/account_bank_statement_line.py b/addons/account/models/account_bank_statement_line.py index dc9fcb1ce5f..d3105d900a3 100644 --- a/addons/account/models/account_bank_statement_line.py +++ b/addons/account/models/account_bank_statement_line.py @@ -140,6 +140,9 @@ class AccountBankStatementLine(models.Model): related='statement_id.is_valid', ) + # Technical field to store details about the bank statement line + transaction_details = fields.Json(readonly=True) + # ------------------------------------------------------------------------- # COMPUTE METHODS # -------------------------------------------------------------------------