[IMP]improve code

bzr revid: kbh@tinyerp.com-20121128055337-0s5cz2gkaou7unj0
This commit is contained in:
Khushboo Bhatt (Open ERP)
2012-11-28 11:23:37 +05:30
parent 3f626523ac
commit 2a5e4e9308
+1 -1
View File
@@ -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__'):