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 ?
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
2
11월 25
|
208 | |||
|
1
11월 25
|
194 | |||
|
1
11월 25
|
2230 | |||
|
1
11월 25
|
3455 | |||
|
1
11월 25
|
4051 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.