[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:
parent
66c977ae9a
commit
7554c12266
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue