[FIX]: crm: Opportunity to phonecall wizard should use the sales team specified in the wizard

bzr revid: rpa@tinyerp.com-20100719104107-o4ng936afk3cbl5b
This commit is contained in:
rpa (Open ERP) 2010-07-19 16:11:07 +05:30
parent ee833e8296
commit b71bd40386
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class crm_opportunity2phonecall(osv.osv_memory):
'categ_id' : categ_id,
'description' : opp.description or False,
'date' : this.date,
'section_id' : opp.section_id and opp.section_id.id or False,
'section_id' : this.section_id.id or opp.section_id.id or False,
'partner_id': opp.partner_id and opp.partner_id.id or False,
'partner_address_id': opp.partner_address_id and opp.partner_address_id.id or False,
'partner_phone' : opp.phone or (opp.partner_address_id and opp.partner_address_id.phone or False),