I am creating a form and I would like to know how to hide fields when a field is filled and when the hided fields appear again when the field is empty again
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
1
Răspunde
4298
Vizualizări
Hi, you can use xml attrs ,
<field name="column1"/>
<field name="column2" attrs="{'invisible':[('column1','!=',False)]}" />
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
2
sept. 24
|
1497 | ||
|
1
feb. 21
|
5899 | ||
|
1
mar. 15
|
7132 | ||
Hide a fields when part of a group
Rezolvat
|
|
1
feb. 21
|
13745 | |
|
1
feb. 16
|
7817 |