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:
c33dff1
)
[FIX] get_reply_to: fixed False value, also returning an array.
author
Thibault Delavallée
<tde@openerp.com>
Wed, 2 Jan 2013 13:50:20 +0000
(14:50 +0100)
committer
Thibault Delavallée
<tde@openerp.com>
Wed, 2 Jan 2013 13:50:20 +0000
(14:50 +0100)
bzr revid: tde@openerp.com-
20130102135020
-s9ssadzms5s8f0hp
addons/mail/mail_thread.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_thread.py
b/addons/mail/mail_thread.py
index
59628d7
..
31d4348
100644
(file)
--- a/
addons/mail/mail_thread.py
+++ b/
addons/mail/mail_thread.py
@@
-393,7
+393,7
@@
class mail_thread(osv.AbstractModel):
def message_get_reply_to(self, cr, uid, ids, context=None):
if not self._inherits.get('mail.alias'):
- return False
+ return [False for id in ids]
return ["%s@%s" % (record['alias_name'], record['alias_domain'])
if record.get('alias_domain') and record.get('alias_name')
else False