[FIX] Fix the problem of reconfirm
lp bug: https://launchpad.net/bugs/802539 fixed bzr revid: dbr@tinyerp.com-20110628050350-yt7muh597au50xpr
This commit is contained in:
@@ -236,7 +236,6 @@ class crm_base(object):
|
||||
"""
|
||||
cases = self.browse(cr, uid, ids)
|
||||
cases[0].state # to fill the browse record cache
|
||||
self._history(cr, uid, cases, _('Draft'))
|
||||
self.write(cr, uid, ids, {'state': 'draft', 'active': True})
|
||||
self._action(cr, uid, cases, 'draft')
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user