[FIX] rules were not correctly triggered when escalading (because it didn't take in consideration the escalade)
bzr revid: qdp@tinyerp.com-20090324103109-ypuyvevv7ssdug13
This commit is contained in:
parent
273f6816ae
commit
e54ff74194
|
@ -721,6 +721,7 @@ class crm_case(osv.osv):
|
|||
else:
|
||||
raise osv.except_osv(_('Error !'), _('You can not escalate this case.\nYou are already at the top level.'))
|
||||
self.write(cr, uid, ids, data)
|
||||
cases = self.browse(cr, uid, ids)
|
||||
self.__history(cr, uid, cases, _('Escalate'))
|
||||
self._action(cr, uid, cases, 'escalate')
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue