Hello everyone,I hope all of you are fine.I have one question,the question is that suppose I have a field of type selection in my class model.Suppose following is the field :
q_test = fields.Selection ( selection = [( 'n' , 'Normal' ), ( 'abn' , 'Abnormal' )], string = 'my field' )
Now suppose I want that when the user selects Abnormal option from the selection field,the text displayed to the user on frontend should be red,and if the user selects the option Normal,then it should be displayed as normal (i.e Black color font).
How can I achieve this,should I use some widget for it or is their any builtin option available in Odoo that can help me perform this task.
Thank you in advance.