Openerp, Odoo question. I'd like to hide the row in tree view depending one field (e.g. item is not in stock).
Maybe I need to put this somewhere in tree_view.xml:
attrs="{'invisible': [('in_stock','=', 0)]}"
It would be fine, if this works, like the res_partner 'Active' flag When 'Active' field is False, all record is disappeared.
Any advice would be appreciated!