[FIX] crm: Fixed mail server problem.
bzr revid: uco@tinyerp.com-20120316112937-xntm4hshq660fpj4
This commit is contained in:
parent
1cf06865d2
commit
fbf15a5d12
|
@ -112,7 +112,7 @@ class crm_configuration(osv.osv_memory):
|
|||
'user': vals.get('default_user'),
|
||||
'password': vals.get('default_password')
|
||||
}
|
||||
server_ids = fetchmail_obj.search(cr, uid, [('name','=','Incoming Leads'),('state','!=','done')])
|
||||
server_ids = fetchmail_obj.search(cr, uid, [('name','=','Incoming Leads'),('state','=','done')])
|
||||
if not server_ids:
|
||||
server_ids = [fetchmail_obj.create(cr, uid, fetchmail_vals, context=context)]
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue