[FIX] fields_get() of Property corrected

bzr revid: jvo@tinyerp.com-20101007084905-k661pw6phxn3kqpt
This commit is contained in:
Jay (OpenERP) 2010-10-07 14:19:05 +05:30
parent 40ed04d094
commit 1a0f584779
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class ir_property(osv.osv):
res = set()
for o in obj.browse(cr, uid, ids, context=context):
res.add(get(o))
return res
return list(res)
def _models_get(self, cr, uid, context=None):
return self._models_field_get(cr, uid, 'model', 'model_id.name', context)