تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2118 أدوات العرض

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
فبراير 22
3719
1
أبريل 21
1350
1
نوفمبر 20
2150
0
سبتمبر 20
2886
2
يونيو 20
2374