[IMP] crm: pass remaining contact info on create partner in lead form

bzr revid: hmo@tinyerp.com-20100304085447-cjyqqoymrsth19w0
This commit is contained in:
Harry (Open ERP)
2010-03-04 14:24:47 +05:30
parent a6226fd53f
commit 9f7bfc3339
+10 -1
View File
@@ -98,7 +98,16 @@ class partner_create(wizard.interface):
'name': case.name,
'phone': case.phone,
'mobile': case.mobile,
'email': case.email_from
'email': case.email_from,
'fax': case.fax,
'title': case.title,
'function': case.function and case.function.id or False,
'street': case.street,
'street2': case.street2,
'zip': case.zip,
'city': case.city,
'country_id': case.country_id and case.country_id.id or False,
'state_id': case.state_id and case.state_id.id or False,
})
else: