[FIX] survey : Adding context in create token method to allow overriding in further modules

This commit is contained in:
odoo-tac
2015-08-21 17:40:04 +02:00
parent 9a8a140782
commit 5d2c3ceb02
@@ -161,7 +161,8 @@ class survey_mail_compose_message(osv.TransientModel):
'state': 'new',
'token': token,
'partner_id': partner_id,
'email': email})
'email': email},
context=context)
return token
for wizard in self.browse(cr, uid, ids, context=context):