summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhushboo Bhatt (Open ERP) <kbh@tinyerp.com>2012-11-28 11:23:37 +0530
committerKhushboo Bhatt (Open ERP) <kbh@tinyerp.com>2012-11-28 11:23:37 +0530
commit2a5e4e9308c903b5ad997e2e1ebdaccd70bec995 (patch)
treec7fb92759fb433d3339c26d38bda9543df4a9cfc
parent3f626523ac7576ce5711d3274dd223996a3df07e (diff)
[IMP]improve code
bzr revid: kbh@tinyerp.com-20121128055337-0s5cz2gkaou7unj0
-rw-r--r--addons/crm/crm_lead.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py
index 5d73a14b692..c66cf23c040 100644
--- a/addons/crm/crm_lead.py
+++ b/addons/crm/crm_lead.py
@@ -464,7 +464,7 @@ class crm_lead(base_stage, format_address, osv.osv):
if field_info is None:
continue
field = field_info.column
- value = None or ''
+ value = ''
if field._type == 'selection':
if hasattr(field.selection, '__call__'):