I am trying to decorate list view of CRM opportunities based on stage_id. Kind of:
tree string="Opportunities" decoration-success="stage_id == 'PAID'"
But it´s not working because it does not recognize PAID as a value of stage_id.
However, if I include in the list:
field name="stage_id" optional="show" decoration-bf="1"/
PAID is shown
Any idea what I am doing badly?
Thanks
Javier
Decoration in Tree View: https://learnopenerp.blogspot.com/2022/05/decorate-text-bold-italic-colors-field-in-tree-view-column-odoo-15.html