[MISC]Revert rev 8962

bzr revid: pza@tinyerp.com-20131101061945-is98vb8lane02hb6
This commit is contained in:
Pooja Zankhariya (OpenERP) 2013-11-01 11:19:45 +05:00
parent 60fcd3c8ce
commit 34224c45e1
1 changed files with 0 additions and 3 deletions

View File

@ -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