[REVERT] Reverted the changes of depricated fieldread changes of the Revision#4482
bzr revid: jam@tinyerp.com-20121017095959-jlztk0qjg85qplvr
This commit is contained in:
parent
4e35350f3c
commit
3c38b1c4d1
|
@ -3565,10 +3565,6 @@ class BaseModel(object):
|
|||
self.check_access_rights(cr, user, 'read')
|
||||
if not fields:
|
||||
fields = list(set(self._columns.keys() + self._inherit_fields.keys()))
|
||||
#remove depricated fields from field list
|
||||
for field in self._columns.keys():
|
||||
if getattr(self._columns[field], 'deprecated'):
|
||||
fields.remove(field)
|
||||
if isinstance(ids, (int, long)):
|
||||
select = [ids]
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue