I want to hide columns in tree view and I use the codes below, yes the columns got invisible but does not read the condition. any advise ?
<field name="vat_no" invisible="context.get('export',True)" />
<field name="vat_no_exp" invisible="context.get('local',True)" />