From d65c7d8776505cccd921ca6239a62be47832a269 Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Tue, 5 Jan 2010 14:15:30 +0530 Subject: [PATCH] [IMP]:read_group bzr revid: nch@tinyerp.com-20100105084530-zjc1nx1iyije91sa --- bin/osv/orm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index e56487d42d2..afe516104d6 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -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()