[FIX] fetchmail: fixed a bug about fetchmail_server_id when sending an email.
bzr revid: tde@openerp.com-20121108160826-40dj27zvmqxf4im7
This commit is contained in:
parent
d5d7dced4d
commit
7e1369cca8
|
@ -255,7 +255,7 @@ class mail_mail(osv.osv):
|
|||
context = {}
|
||||
fetchmail_server_id = context.get('fetchmail_server_id')
|
||||
if fetchmail_server_id:
|
||||
values['fetchmail_server_id'] = server_id
|
||||
values['fetchmail_server_id'] = fetchmail_server_id
|
||||
res = super(mail_mail, self).write(cr, uid, ids, values, context=context)
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in New Issue