projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a4a5e
)
[FIX] CRM: phone call ==> Set To TOdo from cancel state
author
Atik Agewan (OpenERP)
<aag@tinyerp.com>
Thu, 8 Dec 2011 09:54:39 +0000
(15:24 +0530)
committer
Atik Agewan (OpenERP)
<aag@tinyerp.com>
Thu, 8 Dec 2011 09:54:39 +0000
(15:24 +0530)
bzr revid: aag@tinyerp.com-
20111208095439
-n1tul9vrcf6s8mcb
addons/crm/crm_phonecall.py
patch
|
blob
|
history
diff --git
a/addons/crm/crm_phonecall.py
b/addons/crm/crm_phonecall.py
index
b9bb6d3
..
4246fa4
100644
(file)
--- 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