[FIX] portal managment: send mail to user email

bzr revid: chm@openerp.com-20130517155641-xazwkmedy56b9jv0
This commit is contained in:
Christophe Matthieu 2013-05-17 17:56:41 +02:00
parent 98d829c8ee
commit 15f8a6519f
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ class wizard_user(osv.osv_memory):
mail_mail = self.pool.get('mail.mail')
mail_values = {
'email_from': this_user.email,
'email_to': wizard_user.email,
'email_to': user.email,
'subject': _(WELCOME_EMAIL_SUBJECT) % data,
'body_html': '<pre>%s</pre>' % (_(WELCOME_EMAIL_BODY) % data),
'state': 'outgoing',