[FIX] Fields.property :Support for date,float,int,etc. corrected for property field

lp bug: https://launchpad.net/bugs/562356 fixed

bzr revid: jvo@tinyerp.com-20100414105724-4zwxeor67d27e4um
This commit is contained in:
Anup(OpenERP)
2010-04-14 16:27:24 +05:30
committed by Jay (Open ERP)
parent 1d0d5a5724
commit 4686b2f5a7
+1 -1
View File
@@ -931,7 +931,7 @@ class property(function):
res[int(prop.res_id.id)] = (prop.value and \
int(prop.value.split(',')[1])) or False
else:
res[int(prop.res_id.split(',')[1])] = prop.value or ''
res[int(prop.res_id.id)] = prop.value or ''
if self._obj:
obj = obj.pool.get(self._obj)