From 9bca7fa4d7e82beca48466bba293e0832c3b2c8e Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Wed, 23 Nov 2011 14:43:14 +0530 Subject: [PATCH] [FIX] crm: Traceback generated when converting opportunity from Scheduled Calls bzr revid: ron@tinyerp.com-20111123091314-9remtt8bw59iki98 --- addons/crm/wizard/crm_phonecall_to_opportunity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/wizard/crm_phonecall_to_opportunity.py b/addons/crm/wizard/crm_phonecall_to_opportunity.py index ce64dedd73d..a6ddc2494ab 100644 --- a/addons/crm/wizard/crm_phonecall_to_opportunity.py +++ b/addons/crm/wizard/crm_phonecall_to_opportunity.py @@ -50,7 +50,7 @@ class crm_phonecall2opportunity(osv.osv_memory): This function gets default values """ record_id = context and context.get('active_id', False) or False - res = super(crm_phonecall2opportunity, self).default_get(cr, uid, fields, context=context) + res = {} if record_id: phonecall = self.pool.get('crm.phonecall').browse(cr, uid, record_id, context=context)