From b54d8bbd7e84a6e6b28d71357863517725ea45ca Mon Sep 17 00:00:00 2001 From: "Harry (Open ERP)" Date: Sun, 17 Jan 2010 13:21:40 +0530 Subject: [PATCH] [FIX] crm : The schedule a phone call button crashed when a section is set on a business bzr revid: hmo@tinyerp.com-20100117075140-ce3fds0ikwjd1zpk --- addons/crm/wizard/crm_opportunity_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/wizard/crm_opportunity_wizard.py b/addons/crm/wizard/crm_opportunity_wizard.py index b71b0f540fe..49ae48f62fa 100644 --- a/addons/crm/wizard/crm_opportunity_wizard.py +++ b/addons/crm/wizard/crm_opportunity_wizard.py @@ -59,7 +59,7 @@ class opportunity2phonecall(wizard.interface): return { 'user_id' : case.user_id and case.user_id.id, 'category_id' : categ_id and categ_id[0] or case.categ_id and case.categ_id.id, - 'section_id' : case.section_id and case.section_id or False, + 'section_id' : case.section_id and case.section_id.id or False, 'note' : case.description }