[IMP]improve code
bzr revid: kbh@tinyerp.com-20121128055337-0s5cz2gkaou7unj0
This commit is contained in:
@@ -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__'):
|
||||
|
||||
Reference in New Issue
Block a user