Web Widget Color
Color widget for Odoo web client
This module aims to add a color picker to Odoo.
It’s a jsColor lib integration.
The picker allow the user to quickly select a color on edit mode
Notice how html code and the background color is updating when selecting a color.
Display the color on form view when you are not editing it
Display the color on list view to quickly find what’s wrong!
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:
... <field name="arch" type="xml"> <tree string="View name"> ... <field name="color" widget="color"/> ... </tree> </field> ... <field name="arch" type="xml"> <form string="View name"> ... <field name="color" widget="color"/> ... </form> </field> ...
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size odoo11_addon_web_widget_color-188.8.131.52.0-py2.py3-none-any.whl (48.3 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
Hashes for odoo11_addon_web_widget_color-184.108.40.206.0-py2.py3-none-any.whl