Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2218 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 22
3835
1
dub 21
1471
1
lis 20
2275
0
zář 20
2960
2
čvn 20
2471