Web Widget field
Bootstrap Color Picker
More Info
YouTube Video PlayList Odoo Gantt Native - web widget color picker
Demo
Live:https://demo14.garage12.eu/
user: demo Password:demog
The module is used in:
Gantt Project native. Gantt Native view for Projects
Gantt MRP. Gantt Native view for MRP - Manufacture
Gantt Web View Framework Gantt Native view for MRP - Manufacture
Gantt Leave Gantt Native view for Leave
in Action
Form View
Edit Form View
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1513 |
| Technical Name |
web_widget_colorpicker |
| License | LGPL-3 |
| Website | https://straga.github.io |
Please log in to comment on this module
overall its good, but missing something
The module works well overall, however if we use the side arrows or ALT + N to navigate, it shows always the same color to every record. You can fix it by add the "useEffect" with the logic you have in the "onMounted" at "web_widget_colorpicker/static/src/js/color_picker_field.js"
Re: overall its good, but missing something
Hello. Yes. I will try to do that.
Thx, great module !
Because i copy/paste the v16-module on its previous v13-module, i got an error message, after updating the module in the Application-App:
" Could not get content for web_widget_colorpicker/static/src/css/widget.css "
To fix this error, i create an empty file widet.css in the css directory.
And it worked like a charm.
I recommend greatly your other modules.
Thank you Viktor Vorobjov
Update color picker for 17.0, 18.0 - add the "useEffect"
Problem in v16
Dear Viktor Vorobjov,
Thank you for your module "Web Widget Colorpicker v13" that used to work greatly on v13 !
But its v16-version does not work inodoo- v16 (no display of colorpicker on xml field with widget="colorpicker")
PYTHON : title_color = fields.Char(string='Couleur de Titre')
XML:name="title_color" widget="colorpicker"/>
Could you tell me please how to fix it ?
Best regards,
Sylvain
Re: Problem in v16
Can you tunrn on Debug mode with assets. And check error in browser console?
i didn't how to use this module.
even you haven't given much information about this module
Re:
You have email for ask.
If you down load module inside you have readme file:
Color Picker widget for Odoo web client================================
Features========
Now only in RGBA code.
* Display the color on form view when you are not editing it
|form_view_no_edit|
* Display the color on form view when you editing it
|form_view_edit|
Usage=====
You need to declare a char.
colorpicker = fields.Char( string="Color Picker", )
In the view declaration,
... ... ... ...