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
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
4283
Представления
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!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
2
сент. 24
|
1484 | ||
|
1
февр. 21
|
5887 | ||
|
1
мар. 15
|
7122 | ||
|
1
февр. 21
|
13738 | ||
|
1
февр. 16
|
7801 |