[REVERT] Reverted the changes of depricated fieldread changes of the Revision#4482

bzr revid: jam@tinyerp.com-20121017095959-jlztk0qjg85qplvr
This commit is contained in:
Jigar Amin 2012-10-17 15:29:59 +05:30
parent 4e35350f3c
commit 3c38b1c4d1
1 changed files with 0 additions and 4 deletions

View File

@ -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: