Normalize second currency label

This commit is contained in:
Cédric Krier committed 2023-04-16 19:07:25 +02:00
1 parent 97d9d573c0
commit e4729c4acd
1 file changed
+4 -4
+4 -4
View File
@@ -861,16 +861,16 @@ class Account(
currency = fields.Function(fields.Many2One(
'currency.currency', "Currency"),
'get_currency', searcher='search_currency')
second_currency = fields.Many2One('currency.currency',
'Secondary Currency', help='Force all moves for this account \n'
'to have this secondary currency.', ondelete="RESTRICT",
second_currency = fields.Many2One(
'currency.currency', "Second Currency", ondelete="RESTRICT",
domain=[
('id', '!=', Eval('currency', -1)),
],
states={
'readonly': _states['readonly'],
'invisible': ~Eval('deferral', False),
})
},
help="Force all moves for this account to have this second currency.")
type = fields.Many2One(
'account.account.type', "Type", ondelete='RESTRICT',
states={