How to add color in priority fields
______________________________________________________
Python Code
______________________________________________________
priority = fields.Selection([
('clear','Clear'),
('urgent', 'Urgent'),
('normal', 'Normal'),
('lowand', 'Lowand'),
('high','High')],
copy=False, default='normal', required=True)
Red - Urgent
Yellow - High
Cyan - Normal
Gray - Lowand
Clear (if they want to remove priority on the task)
___________________________________
xml code
___________________________________
<field name="priority" widget="priority"/>