[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:
DBR (OpenERP)
2011-06-28 10:33:50 +05:30
parent eedefe1ebc
commit efc308e690
-1
View File
@@ -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