From 0b6059cdb29de7461f29338665705ef9bd833d51 Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Wed, 5 Dec 2012 11:32:54 +0530 Subject: [PATCH] [IMP]minor changes bzr revid: sgo@tinyerp.com-20121205060254-82gnc2y2w37d0pi5 --- addons/mail/mail_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 3f002c4c2ac..f558d93ed1d 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -331,7 +331,7 @@ class mail_thread(osv.AbstractModel): to = to.name_get()[0][1] else: to = "Removed" - if from_: + if isinstance(from_, browse_record): from_ = from_.name_get()[0][1] subtype = get_subtype(ci.column._obj,values[f])