From 92b9d1222227ee13ff982f1dcba83a19f7a86cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 27 Dec 2012 17:43:36 +0100 Subject: [PATCH] [FIX] Invite wizard: model and res_id were overrided with False by default, not necessary. bzr revid: tde@openerp.com-20121227164336-22ejph1imvl6hl65 --- addons/mail/wizard/invite.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/mail/wizard/invite.py b/addons/mail/wizard/invite.py index ee3053014af..9d100da1b87 100644 --- a/addons/mail/wizard/invite.py +++ b/addons/mail/wizard/invite.py @@ -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'}