First, is it possible? Because, I have a code which works perfectly in Form (to hide or not), but whenever I put the same code on a tree view, it doesn't work.
<field name="arch" type="xml">
<tree string="the tree">
<field name="group_name" invisible="1"/>
<field name="date_register" attrs="{'invisible':[('group_name','==',True)]}"/>