You need to declare a char field:: color = fields.Char( string="Color", help="Choose your color" ) In the view declaration, put widget='color' attribute in the field tag:: ... ... ... ...
... ...
... Widget Options:: - readonly_mode - 'default' > Color Box + text - 'color' > Only Color Box - 'text' > Only Text ... ... ... ...