[REF] orm/_inherits_reload: unnecessary dict.update() (the entries are manually updated afterwards).

bzr revid: vmt@openerp.com-20110621144543-z03m9rceohmayjxu
This commit is contained in:
Vo Minh Thu
2011-06-21 16:45:43 +02:00
parent 41b066a085
commit 802ecdd6cf
-1
View File
@@ -3150,7 +3150,6 @@ class orm(orm_template):
res = {}
for table in self._inherits:
other = self.pool.get(table)
res.update(other._inherit_fields)
for col in other._columns.keys():
res[col] = (table, self._inherits[table], other._columns[col])
for col in other._inherit_fields.keys():