[FIX] base_stage & state
bzr revid: api@openerp.com-20121204162052-u3t2vvf4ttcppdic
This commit is contained in:
parent
1f82aaa496
commit
8381a0c92f
|
@ -277,9 +277,6 @@ class base_stage(object):
|
|||
|
||||
def write(self, cr, uid, ids, vals, context=None):
|
||||
res = super(base_stage,self).write(cr, uid, ids, vals, context)
|
||||
if vals.get('stage_id'):
|
||||
for case in self.browse(cr, uid, ids, context=context):
|
||||
self._action(cr, uid, case, case.stage_id.state, context=context)
|
||||
return res
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue