[FIX] lead to opportunity create partner type
bzr revid: jam@tinyerp.com-20120306111207-yw6nr3or1dxfi769
This commit is contained in:
parent
92420a78f3
commit
1aaf758622
|
@ -597,6 +597,7 @@ class crm_lead(crm_case, osv.osv):
|
|||
'country_id': lead.country_id and lead.country_id.id or False,
|
||||
'state_id': lead.state_id and lead.state_id.id or False,
|
||||
'is_company': is_company,
|
||||
'type': 'contact'
|
||||
}
|
||||
|
||||
partner = partner.create(cr, uid,vals, context)
|
||||
|
|
Loading…
Reference in New Issue