summaryrefslogtreecommitdiff
path: root/addons/gamification/data
diff options
context:
space:
mode:
Diffstat (limited to 'addons/gamification/data')
-rw-r--r--addons/gamification/data/badge.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml
index 062e42f501a..562f720fe4d 100644
--- a/addons/gamification/data/badge.xml
+++ b/addons/gamification/data/badge.xml
@@ -44,6 +44,8 @@
<record id="email_template_badge_received" model="mail.template">
<field name="name">Received Badge</field>
+ <field name="model_id" ref="gamification.model_gamification_badge_user"/>
+ <field name="lang">${object.user_id.lang}</field>
<field name="body_html"><![CDATA[
<p>Congratulation, you have received the badge <strong>${object.badge_id.name}</strong> !
% if object.sender_id