i have case about odoo, i was trying to give a condition for create in tree using attr. But, always not working. and here my code before i give a condition :
<tree string="Data" create="1" delete="1" edit="1" editable="bottom" >
i was trying add
attrs="{create:{'invisible': [('state', 'in', ('close', 'newer'))]}}"
But, that's not working.