[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
This commit is contained in:
@@ -614,7 +614,7 @@
|
||||
<field name="state">code</field>
|
||||
<field name="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)
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user