summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-06-07 17:03:40 +0200
committerChristophe Simonis <chs@odoo.com>2016-06-07 17:03:40 +0200
commit83e7f2749cd2e48a9749fa0c99d0fc527754e9fb (patch)
tree9aa4e04992bdf3e9344026f09297b6ef71e4481a /addons/web/static/src/xml
parentb76c883cd0451078f48586832c04df456489148e (diff)
[FIX] web: set title on Many2Many tags
When the content of a Many2Many tag is too large, it is truncated. This is an issue since there is no easy way to see it. The fix adds a title on the tag with the content. X-port of commit odoo/enterprise@bd3bfe04221b685d4e4eb7dbf000c4cd8b0b9d69
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
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 ef53f8fb12c..663133491de 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -750,7 +750,7 @@
<t t-name="FieldMany2ManyTag">
<t t-foreach="elements" t-as="el">
<span t-attf-class="badge dropdown #{'o_tag_color_' + (el['color'] || 0)}" t-att-data-color="(el['color'] || 0)" t-att-data-index="el_index" t-att-data-id="el['id']">
- <span class="o_badge_text"><t t-raw="el['display_name']"/></span>
+ <span class="o_badge_text" t-attf-title="#{el['display_name']}"><t t-raw="el['display_name']"/></span>
<span t-if="!readonly" class="fa fa-times o_delete"/>
</span>
</t>