I'd like to set conditional deletion on my one2many tree.
Static solution works perfect:
<tree string="My Tree" delete="false">
...
</tree>
but I can't find a solution to set it dynamically ie. if invoice type equals 'out_refund' than delete="false", else delete="true"