diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-07-04 14:14:15 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-07-07 13:40:36 +0200 |
| commit | e26ccdd0b6cc448af26b65a160e3329c4a1e7910 (patch) | |
| tree | 4d3bcca2ea97869c6c1b48ab1722c98b937cfc77 /addons/note/views/note_views.xml | |
| parent | 56dae80994ceb27a80714bed78f4e17450151831 (diff) | |
[FIX] web: explicit color attribute for m2m_tags
Before this fix, the field 'color' was hardcoded in the m2m_tags widget,
which means that:
- one couldn't specify another field (problem for custom models, with x_...)
- if the related model didn't have the field 'color', a warning was raised
by the server
Now, the color attribute needs to be specified on the widget options if one
wants to display colored tags.
If the color is not specified, the tags will be displayed in grey.
Diffstat (limited to 'addons/note/views/note_views.xml')
0 files changed, 0 insertions, 0 deletions
