Fixed bug on function field if type is binary (ref:hmo)
bzr revid: hda@tinyerp.com-20081216085533-4jjo15livmuh9mbp
This commit is contained in:
parent
6d3c583545
commit
ce70e60592
|
@ -602,6 +602,9 @@ class function(_column):
|
|||
if store:
|
||||
self._classic_read = True
|
||||
self._classic_write = True
|
||||
if type=='binary':
|
||||
self._symbol_get=lambda x:x and str(x)
|
||||
|
||||
if type == 'float':
|
||||
self._symbol_c = float._symbol_c
|
||||
self._symbol_f = float._symbol_f
|
||||
|
|
Loading…
Reference in New Issue