diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 8c22a0a2e1c..e306758f6a7 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -608,5 +608,22 @@ + + Mark As Lost + + code + + if context.get('active_model') == 'crm.lead' and context.get('active_ids'): + self.case_mark_lost(cr, uid, context['active_ids'], context=context) + + + + + + + Mark As Lost + + +