[FIX] CRM: phone call ==> Set To TOdo from cancel state

bzr revid: aag@tinyerp.com-20111208095439-n1tul9vrcf6s8mcb
This commit is contained in:
Atik Agewan (OpenERP) 2011-12-08 15:24:39 +05:30
parent b6a4a5e684
commit bc1bb2423b
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class crm_phonecall(crm_base, osv.osv):
"""Resets case as Todo
"""
res = super(crm_phonecall, self).case_reset(cr, uid, ids, args, 'crm.phonecall')
self.write(cr, uid, ids, {'duration': 0.0})
self.write(cr, uid, ids, {'duration': 0.0, 'state':'open'})
return res