From 3a0d4084994797309d6379b9cf0034bbe95ba029 Mon Sep 17 00:00:00 2001 From: emiliesoutiras Date: Thu, 19 Sep 2024 17:09:51 +0200 Subject: [PATCH] [FIX] fix odoo trace 'Two fields (manual_in_currency_id, manual_in_currency) of account.bank.statement.line() have the same label: Manual In Currency. [Modules: account_reconcile_oca and account_reconcile_oca]' --- .../models/account_bank_statement_line.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/account_reconcile_oca/models/account_bank_statement_line.py b/account_reconcile_oca/models/account_bank_statement_line.py index e6fcac83..545bae82 100644 --- a/account_reconcile_oca/models/account_bank_statement_line.py +++ b/account_reconcile_oca/models/account_bank_statement_line.py @@ -60,9 +60,18 @@ class AccountBankStatementLine(models.Model): "Percentage Analytic" ), ) - manual_in_currency = fields.Boolean(readonly=True, store=False, prefetch=False) + manual_in_currency = fields.Boolean( + string="Is Manual in Currency?", + readonly=True, + store=False, + prefetch=False, + ) manual_in_currency_id = fields.Many2one( - "res.currency", readonly=True, store=False, prefetch=False + comodel_name="res.currency", + string="Manual In Currency", + readonly=True, + store=False, + prefetch=False, ) manual_amount_in_currency = fields.Monetary( store=False,