[FIX] Convert to long the binary size, because there was a bug about the size in the binary field in the clients

bzr revid: stephane@tinyerp.com-20090203215814-4rlth9lv88ekfmf3
This commit is contained in:
Stephane Wirtel 2009-02-03 22:58:14 +01:00
parent 66c977ae9a
commit 7554c12266
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class binary(_column):
val = v[name]
break
if context.get('bin_size', False):
res[i] = tools.human_size(val)
res[i] = tools.human_size(long(val))
else:
res[i] = val
return res