[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:
parent
57facf47cd
commit
92b9d12222
|
@ -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'}
|
||||
|
|
Loading…
Reference in New Issue