[IMP]:read_group

bzr revid: nch@tinyerp.com-20100105084530-zjc1nx1iyije91sa
This commit is contained in:
nch@tinyerp.com
2010-01-05 14:15:30 +05:30
parent d264461bef
commit d65c7d8776
+1 -2
View File
@@ -411,6 +411,7 @@ class orm_template(object):
if field not in parent_val_dict:
parent_val_dict[field] = False
result.append(parent_val_dict)
print "returning.........",result
return result
else:
# process for getting child values for all fields in the view
@@ -2432,8 +2433,6 @@ class orm(orm_template):
context = {}
if not ids:
return []
if len(ids) and type(ids[0])==tuple:
ids = list(set(map(lambda x:x[0],ids)))
ids = map(lambda x:int(x), ids)
if fields_to_read == None:
fields_to_read = self._columns.keys()