I’ve managed to show a field with color widget in a form view, I would like to show the field in a list view, I can show the hex value, but as soon as a add the attribute widget="color", the list does not load.
Currently, the widget=“color” attribute is supported in form views, but it does not work in tree (list) views in Tryton. That’s why the list view fails to load.
If you need to visually represent the color in a list, you might consider using the icon or visual attributes to provide some visual context.
FTR Views — Tryton server.
A PYSON statement that is evaluated as string muted, success, warning or danger with the context of the record to provide a visual context to the row.,
This has 4 colors, I have an extended requirement of this, where I can convert hex into showing a color in a tree view.