From b62ace082d2706e652ac3c2fb32034c700f516ed Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Wed, 2 Nov 2011 18:51:55 +0530 Subject: [PATCH] [IMP] crm: Fixed, Traceback generated when converting to phonecall to opportunity and opportunity to phonecall bzr revid: ron@tinyerp.com-20111102132155-vsx88zcemuqjbucs --- addons/crm/wizard/crm_opportunity_to_phonecall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/wizard/crm_opportunity_to_phonecall.py b/addons/crm/wizard/crm_opportunity_to_phonecall.py index a6383438350..969a9c78644 100644 --- a/addons/crm/wizard/crm_opportunity_to_phonecall.py +++ b/addons/crm/wizard/crm_opportunity_to_phonecall.py @@ -41,7 +41,7 @@ class crm_opportunity2phonecall(osv.osv_memory): categ_id = data_obj.browse(cr, uid, res_id, context=context).res_id record_ids = context and context.get('active_ids', []) or [] - res = super(crm_opportunity2phonecall, self).default_get(cr, uid, fields, context=context) + res = {} res.update({'action': 'schedule', 'date': time.strftime('%Y-%m-%d %H:%M:%S')}) for opp in opp_obj.browse(cr, uid, record_ids, context=context): if 'name' in fields: