attrs="{'readonly': [('a','=', 'b')]}"
attrs="{'invisible': [('c','=', 'd')]}"
How can i merge 2 codes into 1 .Just likes I have field 'country'. I want this field read only if a==b and invisible if c==d .
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
attrs="{'readonly': [('a','=', 'b')]}"
attrs="{'invisible': [('c','=', 'd')]}"
How can i merge 2 codes into 1 .Just likes I have field 'country'. I want this field read only if a==b and invisible if c==d .
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.