I try to hide the custom field "voornaam" when a company is selected in the contacts form view and the stadard Odoo field website when a individual is selected. What do I do wrong ?

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I try to hide the custom field "voornaam" when a company is selected in the contacts form view and the stadard Odoo field website when a individual is selected. What do I do wrong ?

Hi,
Which version are you using ? If v16 or below, change modifiers to attrs and if v17 change it as:
invisible="not is_company"
Thanks
It worked in V17, has this changed in V18 ?
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
0
Kas 25
|
211 | |||
|
0
Kas 25
|
3337 | |||
|
0
Eki 25
|
401 | |||
|
1
Eki 25
|
3960 | |||
|
2
Ağu 25
|
3910 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.