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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
4313
Vues
Hi, you can use xml attrs ,
<field name="column1"/>
<field name="column2" attrs="{'invisible':[('column1','!=',False)]}" />
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
sept. 24
|
1510 | ||
|
1
févr. 21
|
5900 | ||
|
1
mars 15
|
7134 | ||
|
1
févr. 21
|
13755 | ||
|
1
févr. 16
|
7828 |