Hide Field in Tree view
In tree view we know how to put domain or attrs to visible or invisible any field,But, if we want to hide particular field in tree view based on type or state means based on any condition , then its hard to hide as we cannot use attrs to hide as attrs hide only value not a field.
So, its need to put some condition like below as its get value from context and check.
invisible="context.get('picking_type', False) in ['in']"
Version : V8
..Enjoy..