[fix] previous stage in claim fix + change config menu in crm

bzr revid: tfr@openerp.com-20110208095219-9kjijssbnyygxvty
This commit is contained in:
Thibault Francois 2011-02-08 10:52:19 +01:00
parent 6c81b6a9c1
commit a92107f509
1 changed files with 3 additions and 1 deletions

View File

@ -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 :