diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 24c977bba1d..70a05c6bd0e 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -247,7 +247,7 @@ class mail_mail(osv.osv): fetchmail_server_id = context.get('fetchmail_server_id') if fetchmail_server_id: values['fetchmail_server_id'] = fetchmail_server_id - res = super(mail_message,self).create(cr, uid, values, context=context) + res = super(mail_mail,self).create(cr, uid, values, context=context) return res def write(self, cr, uid, ids, values, context=None): @@ -256,7 +256,7 @@ class mail_mail(osv.osv): fetchmail_server_id = context.get('fetchmail_server_id') if fetchmail_server_id: values['fetchmail_server_id'] = server_id - res = super(mail_message,self).write(cr, uid, ids, values, context=context) + res = super(mail_mail,self).write(cr, uid, ids, values, context=context) return res