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:
b7c078b
)
fix
author
Fabien Pinckaers
<fp@tinyerp.com>
Mon, 20 Aug 2012 11:32:10 +0000
(13:32 +0200)
committer
Fabien Pinckaers
<fp@tinyerp.com>
Mon, 20 Aug 2012 11:32:10 +0000
(13:32 +0200)
bzr revid: fp@tinyerp.com-
20120820113210
-4lxap11yk9xxkv9d
addons/mail/mail_message.py
patch
|
blob
|
history
diff --git
a/addons/mail/mail_message.py
b/addons/mail/mail_message.py
index
20a14ce
..
4cb545c
100644
(file)
--- a/
addons/mail/mail_message.py
+++ b/
addons/mail/mail_message.py
@@
-129,8
+129,6
@@
class mail_message(osv.Model):
_limit = 10
def _message_dict_get(self, cr, uid, msg, context={}):
- print msg
- print msg.attachment_ids
attachs = self.pool.get('ir.attachment').name_get(cr, uid, [x.id for x in msg.attachment_ids], context=context)
author = self.pool.get('res.partner').name_get(cr, uid, [msg.author_id.id,], context=context)[0]
partner_ids = self.pool.get('res.partner').name_get(cr, uid, [x.id for x in msg.partner_ids], context=context)