summaryrefslogtreecommitdiff
path: root/addons/gamification/data
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-02-29 15:37:31 +0100
committerDenis Ledoux <dle@odoo.com>2016-02-29 15:39:45 +0100
commitcca44bdff345f2741832f396baa63ae5a4c9ad70 (patch)
treeaa4202ae67bad0feb5ff7da162e8e354ba88a4e6 /addons/gamification/data
parentf03eee74800dec3584abfd1fadc078f3fc718cf1 (diff)
[FIX] gamification: missing model in email template
Therefore, the template could be seen from the Discuss module, when clicking on "Send Mail", but, when attempting to use it, it failed (as it was not applied on the right model). opw-670546
Diffstat (limited to 'addons/gamification/data')
-rw-r--r--addons/gamification/data/goal_base.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/goal_base.xml
index 155bddb05bd..45d7cd15224 100644
--- a/addons/gamification/data/goal_base.xml
+++ b/addons/gamification/data/goal_base.xml
@@ -20,6 +20,7 @@
<record id="simple_report_template" model="mail.template">
<field name="name">Simple Challenge Report Progress</field>
+ <field name="model_id" ref="gamification.model_gamification_challenge"/>
<field name="body_html"><![CDATA[
<header>
<strong>${object.name}</strong>