diff options
| author | vho <vho@odoo.com> | 2020-03-12 10:35:49 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-04-30 08:29:57 +0000 |
| commit | cb55b302936010d97eca988c68d8167c8c4360b1 (patch) | |
| tree | 087733283dfe3d63bc2acdc4d1493c3d49ecf8de /addons/web/static/src/xml/base.xml | |
| parent | 776d63e5a40fd48aaedb55eb8abfe04aee706688 (diff) | |
[IMP] sales_team, web: add and improve color widget to improve UX on crm.tag
The color picker help the user to choose a color instead of picking it
by id.
The title and arial-label "no-color" default value are removed from the
picker_preview because they are not accurate. Instead name of currently set
color is used.
Task ID 2128166
closes odoo/odoo#47474
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 10d52e55d28..9d59017cee7 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1896,7 +1896,7 @@ <t t-name="ColorPickerReadonly"> <div class="o_field_color_picker_preview"> <li> - <a aria-label="No color" href="#" role="menuitem" t-att-class="'oe_kanban_color_'+active_color" t-att-data-color="active_color" title="No color"/> + <a href="#" role="menuitem" t-att-class="'oe_kanban_color_'+active_color" t-att-data-color="active_color" t-att-aria-label="name_color" t-att-title="name_color"/> </li> </div> </t> |
