[FIX] crm: Fixed log message problem when creating opportunity from lead.

lp bug: https://launchpad.net/bugs/691481 fixed

bzr revid: uco@tinyerp.com-20101220091355-5e4d47gphs7uzgop
This commit is contained in:
uco (OpenERP) 2010-12-20 14:43:55 +05:30
parent 43cea783a8
commit c2c55d4ddc
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class crm_lead2opportunity(osv.osv_memory):
self.pool.get('mailgate.message').write(cr, uid, msg_ids, {
'partner_id': lead.partner_id.id
}, context=context)
self.log(cr, uid, lead.id,
leads.log(cr, uid, lead.id,
_("Lead '%s' has been converted to an opportunity.") % lead.name)
return {