projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1a89e
)
[IMP] improved code
author
Turkesh Patel (Open ERP)
<tpa@tinyerp.com>
Thu, 21 Jun 2012 06:23:33 +0000
(11:53 +0530)
committer
Turkesh Patel (Open ERP)
<tpa@tinyerp.com>
Thu, 21 Jun 2012 06:23:33 +0000
(11:53 +0530)
bzr revid: tpa@tinyerp.com-
20120621062333
-qv7hblle9l6huch1
addons/mail/mail_thread.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_thread.py
b/addons/mail/mail_thread.py
index
08eaad8
..
644b52d
100644
(file)
--- a/
addons/mail/mail_thread.py
+++ b/
addons/mail/mail_thread.py
@@
-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: