[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:
Thibault Delavallée 2012-11-08 17:08:26 +01:00
parent d5d7dced4d
commit 7e1369cca8
1 changed files with 5 additions and 5 deletions

View File

@ -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