I'm working with Odoo and studio.
I want to format a selection field text based on the selected value using XML.
Here is what I have already tried but it has no effect at all:
<field name="my_status" string="Status" colors="orange:my_status == 'negotiation';green:my_status == 'signed';purple:my_status == 'internal'"/>
I have also tried:
<field name="my_status" string="Status" decoration-success="my_status == 'signed'" decoration-danger="my_status == 'negociation'" decoration-muted="my_status == 'internal'"/>
Do you know what I am missing for it to work?
EDIT: I found this, I guess I can't color format any of the fields? https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/rng/common.rng#L206