summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-02-27 12:27:32 +0100
committerMartin Trigaux <mat@openerp.com>2013-02-27 12:27:32 +0100
commitd9cee091eaa30a50f8cf4366e95a7cd8a286bc00 (patch)
treefa3f33da6b88ba39d38189ea4221ee0f5f965c08
parente57a761dc7ca0463b8dffac7d8423ec362745513 (diff)
[IMP] gamification: use alias instead of email
bzr revid: mat@openerp.com-20130227112732-tlblt4x9n5131ci9
-rw-r--r--addons/gamification/report/reminder.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/report/reminder.xml b/addons/gamification/report/reminder.xml
index d184b6518de..918e2773bc5 100644
--- a/addons/gamification/report/reminder.xml
+++ b/addons/gamification/report/reminder.xml
@@ -5,7 +5,7 @@
<field name="name">Goal Update Reminder - Send by Email</field>
<field name="email_from">noreply@localhost</field>
<field name="subject">Goal Update Reminder</field>
- <field name="email_recipients">${object.user_id.email}</field>
+ <field name="email_recipients">${object.user_id.alias_id.name_get()[0][1]}</field>
<field name="model_id" ref="gamification.model_gamification_goal"/>
<field name="auto_delete" eval="True"/>
<field name="body_html"><![CDATA[