From 34224c45e1b169cf33c8344516f269630e8068fa Mon Sep 17 00:00:00 2001 From: "Pooja Zankhariya (OpenERP)" Date: Fri, 1 Nov 2013 11:19:45 +0500 Subject: [PATCH] [MISC]Revert rev 8962 bzr revid: pza@tinyerp.com-20131101061945-is98vb8lane02hb6 --- addons/mail/mail_mail.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/mail/mail_mail.py b/addons/mail/mail_mail.py index fa04e249b90..9c9ee526799 100644 --- a/addons/mail/mail_mail.py +++ b/addons/mail/mail_mail.py @@ -68,9 +68,6 @@ class mail_mail(osv.Model): 'state': 'outgoing', } - def name_get(self, cr, uid, ids, context=None): - return [(mail["id"], "%s" % (mail['subject'] or "New Mail")) for mail in self.read(cr, uid, ids, ['subject'], context=context)] - def default_get(self, cr, uid, fields, context=None): # protection for `default_type` values leaking from menu action context (e.g. for invoices) # To remove when automatic context propagation is removed in web client