[FIX] remove to call case_close_send_note method.

bzr revid: bth@tinyerp.com-20120402123210-ytp1uc3u0jvr2utf
This commit is contained in:
Bhumi Thakkar (Open ERP)
2012-04-02 18:02:10 +05:30
parent b655344971
commit 44f73db495
-1
View File
@@ -152,7 +152,6 @@ class crm_phonecall(crm_base, osv.osv):
data.update({'duration': duration.seconds/float(60)})
res = super(crm_phonecall, self).case_close(cr, uid, [phone_id], context)
self.write(cr, uid, [phone_id], data)
self.case_close_send_note(cr, uid, [phone_id], context);
return res
def case_reset(self, cr, uid, ids, context=None):