From 2657e217f0a5bf43401f63a9c49d7a2ccd7f3838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 9 Oct 2024 10:12:36 +0200 Subject: [PATCH] [IMP] account_reconcile_oca: Remove warning: Two fields have the same label: Manual In Currency. WARNING devel odoo.addons.base.models.ir_model: 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 | 10 ++++++++-- 1 file changed, 8 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 f4d6b66e..3290718c 100644 --- a/account_reconcile_oca/models/account_bank_statement_line.py +++ b/account_reconcile_oca/models/account_bank_statement_line.py @@ -60,9 +60,15 @@ class AccountBankStatementLine(models.Model): "Percentage Analytic" ), ) - manual_in_currency = fields.Boolean(readonly=True, store=False, prefetch=False) + manual_in_currency = fields.Boolean( + readonly=True, store=False, prefetch=False, string="Manual In Currency?" + ) manual_in_currency_id = fields.Many2one( - "res.currency", readonly=True, store=False, prefetch=False + "res.currency", + readonly=True, + store=False, + prefetch=False, + string="Manual In Currency", ) manual_amount_in_currency = fields.Monetary( store=False,