[FIX]crm:fixed trace back for log call

bzr revid: kbh@tinyerp.com-20121126124254-nr884etecw3c4lej
This commit is contained in:
Khushboo Bhatt (Open ERP)
2012-11-26 18:12:54 +05:30
parent a3b3fbb575
commit 40c3b42ec3
+2
View File
@@ -127,6 +127,8 @@ class crm_phonecall(base_state, osv.osv):
section_id = call.section_id and call.section_id.id or False
if not user_id:
user_id = call.user_id and call.user_id.id or False
if not schedule_time:
schedule_time = call.date
vals = {
'name' : call_summary,
'user_id' : user_id or False,