bzr revid: christophe@tinyerp.com-20080903103626-mrmcy5jbrj817uip
This commit is contained in:
Christophe Simonis 2008-09-03 12:36:26 +02:00
parent 465dc49f18
commit 8ae5a06e35
1 changed files with 1 additions and 1 deletions

View File

@ -1741,7 +1741,7 @@ class orm(orm_template):
for table in self._inherits:
col = self._inherits[table]
cols = intersect(self._inherit_fields.keys(), fields)
cols = intersect(self._inherit_fields.keys(), fields_to_read)
if not cols:
continue
res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load)