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)"/>
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
0
Ağu 18
|
4257 | |||
|
3
Ağu 15
|
4152 | |||
|
Certification ODOO
Çözüldü
|
2
Tem 15
|
5712 | ||
|
0
Mar 15
|
4798 | |||
|
1
Mar 15
|
3849 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.