From 15f8a6519f55615e065226ab79f9c886b000e00b Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 17 May 2013 17:56:41 +0200 Subject: [PATCH] [FIX] portal managment: send mail to user email bzr revid: chm@openerp.com-20130517155641-xazwkmedy56b9jv0 --- addons/portal/wizard/portal_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/portal/wizard/portal_wizard.py b/addons/portal/wizard/portal_wizard.py index 7665db34bc4..9cb5e6a4f85 100644 --- a/addons/portal/wizard/portal_wizard.py +++ b/addons/portal/wizard/portal_wizard.py @@ -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': '
%s
' % (_(WELCOME_EMAIL_BODY) % data), 'state': 'outgoing',