summaryrefslogtreecommitdiff
path: root/addons/gamification/data
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-12-23 17:01:43 +0100
committerMartin Trigaux <mat@openerp.com>2013-12-23 17:01:43 +0100
commitf4e42879d3430f36033d416c205a63e547aa4068 (patch)
tree583ec6c1bb057d7f7089d263bf407a1630eadf40 /addons/gamification/data
parentc0eef311602c986e5ab54ebba016eb12d49e1467 (diff)
[REF] gamification: rename user_from_id -> sender_id, move constants
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
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>