Skip to Content
Menu
This question has been flagged
1227 Views

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.

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 22
2694
1
Apr 21
689
1
Nov 20
1411
0
Sep 20
2022
2
Jun 20
1693