summaryrefslogtreecommitdiff
path: root/addons/gamification/views
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-08-27 16:06:01 +0200
committerChristophe Simonis <chs@odoo.com>2019-08-27 16:06:01 +0200
commit838b3f2d827daa1d1fb945de34345c7f9ca4f1b0 (patch)
treedc83ea0600959ebeaf50d752d9cfa78c2c51a6f0 /addons/gamification/views
parent4833aeb960fdf72bbb55721c3e2f4c83b27d2cbd (diff)
parent1385b60004dde5e2b1738161280d979f60cc0418 (diff)
[MERGE] forward port branch 11.0 up to 1385b60004d
Diffstat (limited to 'addons/gamification/views')
-rw-r--r--addons/gamification/views/goal.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/gamification/views/goal.xml b/addons/gamification/views/goal.xml
index 31852c1a049..917ee095022 100644
--- a/addons/gamification/views/goal.xml
+++ b/addons/gamification/views/goal.xml
@@ -135,6 +135,7 @@
<field name="completeness"/>
<field name="state"/>
<field name="target_goal"/>
+ <field name="definition_description"/>
<field name="definition_condition"/>
<field name="definition_suffix"/>
<field name="definition_display"/>
@@ -143,7 +144,9 @@
<field name="last_update"/>
<templates>
<t t-name="kanban-tooltip">
- <field name="definition_description"/>
+ <ul class="oe_kanban_tooltip">
+ <li><t t-esc="record.definition_description.value" /></li>
+ </ul>
</t>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_card o_kanban_gamification #{record.end_date.raw_value &lt; record.last_update.raw_value &amp; record.state.raw_value == 'failed' ? 'oe_kanban_color_2' : ''} #{record.end_date.raw_value &lt; record.last_update.raw_value &amp; record.state.raw_value == 'reached' ? 'oe_kanban_color_5' : ''}">