From 39c52a9d182faf7dffcfd4077660183b4c5d1b2d Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 25 Apr 2012 19:52:25 +0200 Subject: [PATCH] [FIX] crm.lead: convert to opportunity must open case too bzr revid: odo@openerp.com-20120425175225-hjlf834t9gc4hfeh --- addons/crm/crm_lead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 1ff6e58bd24..c0b57e76f7e 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -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]