[IMP] website: website in context value

bzr revid: chm@openerp.com-20130806152551-al681prbs3l1150q
This commit is contained in:
Christophe Matthieu
2013-08-06 17:25:51 +02:00
parent 966da9b37b
commit 892e38decf
+1
View File
@@ -28,6 +28,7 @@ class website_mail(http.Controller):
'next_date': None,
'mail_group_id': mail_group_id,
'subscribe': post.get('subscribe'),
'website': website,
})
if request.uid != website.get_public_uid() and mail_group_id: