Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2122 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 22
3721
1
thg 4 21
1350
1
thg 11 20
2151
0
thg 9 20
2887
2
thg 6 20
2375