[FIX] Invite wizard: model and res_id were overrided with False by default, not necessary.

bzr revid: tde@openerp.com-20121227164336-22ejph1imvl6hl65
This commit is contained in:
Thibault Delavallée 2012-12-27 17:43:36 +01:00
parent 57facf47cd
commit 92b9d12222
1 changed files with 0 additions and 2 deletions

View File

@ -69,8 +69,6 @@ class invite_wizard(osv.osv_memory):
'subject': 'Invitation to follow %s' % document.name_get()[0][1],
'body_html': '%s' % wizard.message,
'auto_delete': True,
'res_id': False,
'model': False,
}, context=context)
mail_mail.send(cr, uid, [mail_id], recipient_ids=[follower_id], context=context)
return {'type': 'ir.actions.act_window_close'}