summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolt@tinyerp.com <>2010-09-01 09:19:00 +0200
committerolt@tinyerp.com <>2010-09-01 09:19:00 +0200
commita2e42c4e73cfb97108bcdb5b6322e6c5ec077396 (patch)
treea218daab7a20fda3888c08c419ac3836a9d75e14
parent30189fb7e8cf7f0020dd697c25b58de7800e7706 (diff)
[FIX] crm: 'crm_lead_to_partner' wizard: 'title' is a many2one, not a char
bzr revid: olt@tinyerp.com-20100901071900-eji3ghlp71owk0o6
-rw-r--r--addons/crm/wizard/crm_lead_to_partner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/wizard/crm_lead_to_partner.py b/addons/crm/wizard/crm_lead_to_partner.py
index 98a075ba1ba..8592a934647 100644
--- a/addons/crm/wizard/crm_lead_to_partner.py
+++ b/addons/crm/wizard/crm_lead_to_partner.py
@@ -154,7 +154,7 @@ class crm_lead2partner(osv.osv_memory):
'mobile': lead.mobile,
'email': lead.email_from,
'fax': lead.fax,
- 'title': lead.title,
+ 'title': lead.title and lead.title.id or False,
'function': lead.function,
'street': lead.street,
'street2': lead.street2,