跳至内容
菜单
此问题已终结
2 回复
1650 查看

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 ?

编写者 最佳答案

Thanks, that solved it.

形象
丢弃
相关帖文 回复 查看 活动
2
8月 25
2342
1
7月 25
859
1
8月 25
1150
0
5月 25
1318
2
4月 25
3518