[FIX] crm.lead: convert to opportunity must open case too
bzr revid: odo@openerp.com-20120425175225-hjlf834t9gc4hfeh
This commit is contained in:
@@ -573,8 +573,8 @@ class crm_lead(crm_case, osv.osv):
|
||||
|
||||
vals = self._convert_opportunity_data(cr, uid, lead, customer, section_id, context=context)
|
||||
self.write(cr, uid, [lead.id], vals, context=context)
|
||||
|
||||
self._convert_opportunity_notification(cr, uid, lead, context=context)
|
||||
self.case_open(cr, uid, [lead.id])
|
||||
#TOCHECK: why need to change partner details in all messages of lead ?
|
||||
if lead.partner_id:
|
||||
msg_ids = [ x.id for x in lead.message_ids]
|
||||
|
||||
Reference in New Issue
Block a user