Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2280 Widoki

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 22
3913
1
kwi 21
1522
1
lis 20
2335
0
wrz 20
3012
2
cze 20
2522