Is it possible to have a domain-like condition in Odoo
colors attribute instead of a single condition ?
example : I wanna have a condition like this
I noticed that we could have a hidden function field that filled depend on the both fields and use it in the
colors attribute, but is there the simpler way ?