From a92107f50931cb16fc8cd150a7af72879a8cb9dc Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Tue, 8 Feb 2011 10:52:19 +0100 Subject: [PATCH] [fix] previous stage in claim fix + change config menu in crm bzr revid: tfr@openerp.com-20110208095219-9kjijssbnyygxvty --- addons/crm/crm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index ee8e366c369..e118767b43b 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -218,12 +218,14 @@ class crm_case(object): def stage_change(self, cr, uid, ids, context=None, order='sequence'): if context is None: context = {} - stage_pool = self.pool.get('crm.case.setage') + + 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): + next_stage = False value = {} if case.section_id.id :