I try to invisible some field by clicking check box but I don't know how can I make it .
please help me.
thank you so much
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I try to invisible some field by clicking check box but I don't know how can I make it .
please help me.
thank you so much
Yes, it is possible. Try this (in xml):
<field name="my_checkbox"/>
<field name="my_foo1" attrs="{'invisible':[('my_checkbox','=',False)]}"/>
<field name="my_foo2" attrs="{'invisible':[('my_checkbox','!=',False)]}"/>
or like this:
<field name="my_foo3" invisible="context.get('my_checkbox',False)"/>
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ýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 8 18
|
3081 | ||
|
3
thg 8 15
|
2898 | ||
Certification ODOO
Đã xử lý
|
|
2
thg 7 15
|
4652 | |
|
0
thg 3 15
|
3654 | ||
|
1
thg 3 15
|
2898 |