summaryrefslogtreecommitdiff
path: root/addons/gamification/data
diff options
context:
space:
mode:
Diffstat (limited to 'addons/gamification/data')
-rw-r--r--addons/gamification/data/badge.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/gamification/data/badge.xml b/addons/gamification/data/badge.xml
index 5588d327f82..dc9f1212ae1 100644
--- a/addons/gamification/data/badge.xml
+++ b/addons/gamification/data/badge.xml
@@ -1128,8 +1128,8 @@
<field name="name">Received Badge</field>
<field name="body_html"><![CDATA[
<p>Congratulation, you have received the badge <strong>${object.badge_id.name}</strong> !
- % if object.user_from_id
- This badge was granted by <strong>${object.user_from_id.name}</strong>.
+ % if object.sender_id
+ This badge was granted by <strong>${object.sender_id.name}</strong>.
% endif
</p>