[MERGE] crm: add missing partner email when creating opportunity

bzr revid: rco@openerp.com-20120123125241-jcr7fx3apgv01f5h
This commit is contained in:
Raphael Collet
2012-01-23 13:52:41 +01:00
+1
View File
@@ -251,6 +251,7 @@ class crm_phonecall(crm_base, osv.osv):
'priority': call.priority,
'type': 'opportunity',
'phone': call.partner_phone or False,
'email_from': default_contact and default_contact.email,
})
vals = {
'partner_id': partner_id,