From 4939aa6e57bddef6e779fb4dea05db77364990cf Mon Sep 17 00:00:00 2001 From: "Ujjvala Collins (OpenERP)" Date: Tue, 8 Feb 2011 15:18:43 +0530 Subject: [PATCH] [FIX] crm: Reverted changes of Revision ID: tfr@openerp.com-20110206231647-dg5f50am7wsuuz7g. bzr revid: uco@tinyerp.com-20110208094843-c0x8k0f38i1qdeqx --- addons/crm/crm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 2d371c3f865..0b6275598d2 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -219,11 +219,11 @@ class crm_case(object): if context is None: context = {} stage_pool = self.pool.get('crm.case.stage') + stage_type = context and context.get('stage_type','') current_seq = False next_stage_id = False for case in self.browse(cr, uid, ids, context=context): - stage_type = case.type next_stage = False value = {} if case.section_id.id :