How to create a custom widget state_selection ? ODOO 12
I'm on version 12 of Odoo under a Docker environment.
My objective is to add a new state_selection widget (in the same way as the one that is present in the kanban view of the tasks of the project module) with 4 options / colors :
Preferably I would like to do it myself if it is not too complicated, otherwise an existing module will do the trick.
I have no idea how to do it and I can't find any documentation on it. Can you help me or indicate a module to do this simply?
Thank you for your time.