[IMP]crm: added a email_from field in convert_opportunity method

bzr revid: mma@tinyerp.com-20120111120122-8kneus873a5mhsl9
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-01-11 17:31:22 +05:30
parent 57bc6ec7d0
commit eb6c9087f2
1 changed files with 1 additions and 0 deletions

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,