[FIX] crm: Lead -> Opportunity: Use the right email address

bzr revid: stephane@openerp.com-20100511101248-80pmbxul0w9t6fwn
This commit is contained in:
Stephane Wirtel 2010-05-11 12:12:48 +02:00
parent 22d3a19c20
commit 74451deac2
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ class crm_case_history(osv.osv):
"""
res = {}
for hist in self.browse(cursor, user, ids, context or {}):
res[hist.id] = (hist.email or '/') + ' (' + str(hist.date) + ')\n'
res[hist.id] = (hist.email_from or '/') + ' (' + str(hist.date) + ')\n'
res[hist.id] += (hist.description or '')
return res