I have been trying to get the tree view to show all items with priority of High as red on my list view and found some code to do this but it is not working for me:
<tree string="My Tickets" colors="red:priority=='High'">
Priority is listed as a view in my tree view. I am missing something here?
This works fine if I create a selection:
priority = fields.Selection([('1', 'Low'), ('2', 'Medium'), ('3', 'High')], string='Priority')
Is there a way to get it to work on Many2one fields that can be edited?