[FIX] Pop the correct field in context.

bzr revid: vta@openerp.com-20121205073518-aokkreu26zdr03cc
This commit is contained in:
vta vta@openerp.com
2012-12-05 08:35:18 +01:00
parent 3268f93197
commit e3c7ae7e1d
+1 -1
View File
@@ -74,7 +74,7 @@ class invite_wizard(osv.osv_memory):
# the invite wizard should create a private message not related to any object,
# we ensure that by removing default res_id and res_model from the context
context.pop('default_res_id', False)
context.pop('default_res_model', False)
context.pop('default_model', False)
for follower_id in new_follower_ids:
mail_mail = self.pool.get('mail.mail')
mail_id = mail_mail.create(cr, uid, {