[IMP] improve code.

bzr revid: nco@tinyerp.com-20130604131533-uti2v9n35l3ma7zb
This commit is contained in:
Nimesh Contractor (OpenERP)
2013-06-04 18:45:33 +05:30
parent af6b505f1f
commit 45b427b8b5
+1 -1
View File
@@ -264,7 +264,7 @@ class crm_phonecall(base_state, osv.osv):
res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'base_calendar', 'action_crm_meeting', context)
res['context'] = {
'default_phonecall_id': phonecall.id,
'default_partner_ids': partner_ids or [],
'default_partner_ids': partner_ids,
'default_user_id': uid,
'default_email_from': phonecall.email_from,
'default_name': phonecall.name,