42
Add context in view:
<field name="context">{ 'hide_field': 1}
</field>
Update attribute:
<xpath expr="//tree//field[@name='location_dest_id']" position="attributes">
<attribute name="invisible">context.get('hide_field')</attribute>
</xpath>