How would you change the attributes of an existing field?
I have set up a form view that inherits base.view_partner_form
I want to hide the 'is_company' field. I still need it to have a value, so can't just use position=replace to remove it. I tried adding in <field name="is_company" invisible="1"/>
but unsurprisingly it didn't work. how are you meant to do this?