跳至内容
菜单
此问题已终结
2022 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
0
2月 22
3631
1
4月 21
1290
1
11月 20
2073
0
9月 20
2783
2
6月 20
2319