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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
1
Odpovědět
4310
Zobrazení
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!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
2
zář 24
|
1509 | ||
|
1
úno 21
|
5900 | ||
|
1
bře 15
|
7134 | ||
Hide a fields when part of a group
Vyřešeno
|
|
1
úno 21
|
13755 | |
|
1
úno 16
|
7827 |