diff --git a/bin/osv/fields.py b/bin/osv/fields.py index 7c1a3034770..2aaa516f572 100644 --- a/bin/osv/fields.py +++ b/bin/osv/fields.py @@ -616,7 +616,7 @@ class function(_column): else: res = self._fnct(cr, obj._table, ids, name, self._arg, context) - if self._type == 'binary' and context.get('get_binary_size', True): + if self._type == 'binary' and context.get('get_binary_size', False): # convert the data returned by the function with the size of that data... res = dict(map(lambda (x, y): (x, tools.human_size(len(y))), res.items())) return res