Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

I changed the symbol position to "After amount" and changed the Symbol to €test just to make sure that its exactly this record, and it is, but the currency field is still displayed before the amount.


currency_id = fields.Many2one(

"res.currency", default=lambda self: self.env.company.currency_id, readonly=True

)


lohnkosten_m = fields.Monetary(

currency_field="currency_id"

)

view:

<group>

<field name="currency_id" invisible="1"/>

<field name="lohnkosten_m" widget="monetary" options="{'currency_field': 'currency_id'}" />

</group>


Odoo v17


Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
maj 25
887
1
maj 23
1524
3
jan. 16
9515
0
sep. 20
7440
0
mar. 25
1585