[FIX]: crm: Wrong field name in Opportunity to phonecall wizard

lp bug: https://launchpad.net/bugs/631637 fixed

bzr revid: rpa@tinyerp.com-20100907053347-bac1fyzngwz5w4xd
This commit is contained in:
rpa (Open ERP)
2010-09-07 11:03:47 +05:30
parent a7be946e1b
commit 9c62ee0c24
@@ -125,7 +125,7 @@ class crm_opportunity2phonecall(osv.osv_memory):
'partner_phone' : opp.phone or (opp.partner_address_id and opp.partner_address_id.phone or False),
'partner_mobile' : opp.partner_address_id and opp.partner_address_id.mobile or False,
'priority': opp.priority,
'opp_id': opp.id
'opportunity_id': opp.id
}, context=context)
phonecall_obj.case_open(cr, uid, [new_case])