How can I create dynamic field labels in the form view?
For example for the name, I want to have a label "Company" if it's a company, and the label "Lastname" if it's a contact.
Ideally it should be something like this:
<field name="name" string="{[('Company',[('is_company','=', True)]), ('Lastname',[('is_company','=', False)]) }"/>
How to manage this?