Skip to Content
Menu

MIS Color Picker Widget

by
Odoo
v 15.0 Third Party 156
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 88
Technical Name mis_color_picker
LicenseLGPL-3
Websitehttps://i-solusi.com
Versions 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 88
Technical Name mis_color_picker
LicenseLGPL-3
Websitehttps://i-solusi.com
Versions 15.0 16.0 17.0

MIS Color Picker Widget

The MIS Color Picker Widget is a custom field widget for Odoo that allows users to select colors using a modern and intuitive color picker. This widget supports both HEX and RGB color formats and provides a set of popular colors for quick selection. It utilizes the Pickr lightweight and fast JavaScript library for the color picker functionality.

Screen Shot

Features

  • Easy integration with Odoo forms
  • Supports HEX & RGB color format
  • Includes a set of popular colors for quick selection
  • User-friendly interface with color preview
  • Compatible with Odoo 14.0 and above

Installation

  1. Download the module from the Odoo App Store.
  2. Extract the downloaded file to your Odoo addons directory.
  3. Restart your Odoo server.
  4. Update the app list by navigating to Apps > Update Apps List.
  5. Search for "MIS Color Picker Widget" and install the module.

Usage

  1. Navigate to the form where you want to use the color picker widget.
  2. Add a new field with the type "Char" to your model.
  3. Example:

    from odoo import models, fields
    class ColorModel(models.Model):
        _name = 'color.model'
        _description = 'Color Model'
    
        name = fields.Char(string='Name', required=True)
        color = fields.Char(string='Color')
    
  4. In the form view, set the widget attribute of the field to "mis_color_picker".
  5. Example:

    <field name="color" widget="mis_color_picker"/>
  6. Save the changes and refresh the form view. The color picker widget should now be available for the specified field.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.