Hi,
I am facing an issue on field define in xml
<field name = "update_currency_rate" attrs = "{readonly ': [(' self.env.ref ('base.main_company'). currency_id ',' == ',' currency_id ')]}" > </field>
I am using Odoo v13 and want to disable field conditionally. but it will generate error.
I want to disable field without creating new field in Database as i see that default currency has . which is not acceptable in view
Please guide me how to disable field without create a field in DB.