[IMP] improved code

bzr revid: tpa@tinyerp.com-20120621062333-qv7hblle9l6huch1
This commit is contained in:
Turkesh Patel (Open ERP) 2012-06-21 11:53:33 +05:30
parent 4d1a89e006
commit f64fa15ec0
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class mail_thread(osv.osv):
if alias.alias_user_id:
user_id = alias_id.alias_user_id.id
#if user_id not defined in the alias then search related user using name of Email sender
else if:
else:
frm = msg.get('from')
user_ids = user_obj.search(cr, uid, [('name','=',frm)], context)
if user_ids: