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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
4296
Widoki
Hi, you can use xml attrs ,
<field name="column1"/>
<field name="column2" attrs="{'invisible':[('column1','!=',False)]}" />
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
wrz 24
|
1496 | ||
|
1
lut 21
|
5898 | ||
|
1
mar 15
|
7132 | ||
Hide a fields when part of a group
Rozwiązane
|
|
1
lut 21
|
13743 | |
|
1
lut 16
|
7812 |