[FIX] crm : The schedule a phone call button crashed when a section is set on a business

bzr revid: hmo@tinyerp.com-20100117075140-ce3fds0ikwjd1zpk
This commit is contained in:
Harry (Open ERP)
2010-01-17 13:21:40 +05:30
parent 0dec1a890e
commit b54d8bbd7e
+1 -1
View File
@@ -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
}