From 86610e3a3067d8eba805a68fe565c9bb1b1bb390 Mon Sep 17 00:00:00 2001
From: "dle@openerp.com" <>
Date: Fri, 17 May 2013 11:46:29 +0200
Subject: [PATCH] [FIX]crm: mark as lost use now case_cancel instead of
case_mark_lost because stage of lead were set to lost instead of dead
bzr revid: dle@openerp.com-20130517094629-7l5tx1esj38ydc3u
---
addons/crm/crm_lead_view.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index e306758f6a7..62090dd0efc 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -614,7 +614,7 @@
code
if context.get('active_model') == 'crm.lead' and context.get('active_ids'):
- self.case_mark_lost(cr, uid, context['active_ids'], context=context)
+ self.case_cancel(cr, uid, context['active_ids'], context=context)