summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtik Agewan (OpenERP) <aag@tinyerp.com>2011-12-08 15:24:39 +0530
committerAtik Agewan (OpenERP) <aag@tinyerp.com>2011-12-08 15:24:39 +0530
commitbc1bb2423bbc71cabd3e8e616d49d9f1ebea02c5 (patch)
tree08e5c294bf9eba3bbcdd1c069034e205248daf70
parentb6a4a5e6844b289e59ee62d31f7c5f4c00a0581a (diff)
[FIX] CRM: phone call ==> Set To TOdo from cancel state
bzr revid: aag@tinyerp.com-20111208095439-n1tul9vrcf6s8mcb
-rw-r--r--addons/crm/crm_phonecall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/crm_phonecall.py b/addons/crm/crm_phonecall.py
index b9bb6d359b1..4246fa43a98 100644
--- a/addons/crm/crm_phonecall.py
+++ b/addons/crm/crm_phonecall.py
@@ -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