[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]'

pull/702/head
emiliesoutiras 2024-09-19 17:09:51 +02:00
parent 624f0a973b
commit 3a0d408499
1 changed files with 11 additions and 2 deletions

View File

@ -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,