[IMP] Improvements
bzr revid: pso@tinyerp.com-20120828125623-1nq457mpd1dijq4j
This commit is contained in:
parent
00a4560963
commit
3abb393247
|
@ -557,7 +557,7 @@ class res_config_settings(osv.osv_memory):
|
|||
""" Override name_get method to return an appropriate configuration wizard
|
||||
name, and not the generated name."""
|
||||
|
||||
if not len(ids):
|
||||
if not ids:
|
||||
return []
|
||||
# name_get may receive int id instead of an id list
|
||||
if isinstance(ids, (int, long)):
|
||||
|
|
Loading…
Reference in New Issue