From bc1bb2423bbc71cabd3e8e616d49d9f1ebea02c5 Mon Sep 17 00:00:00 2001 From: "Atik Agewan (OpenERP)" Date: Thu, 8 Dec 2011 15:24:39 +0530 Subject: [PATCH] [FIX] CRM: phone call ==> Set To TOdo from cancel state bzr revid: aag@tinyerp.com-20111208095439-n1tul9vrcf6s8mcb --- addons/crm/crm_phonecall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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