跳至內容
選單
此問題已被標幟
1942 瀏覽次數

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
3553
1
4月 21
1230
1
11月 20
2023
0
9月 20
2695
2
6月 20
2263