projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FIX] OPW 592482: browse_record should not prefetch binary fields
[odoo/odoo.git]
/
bin
/
osv
/
fields.py
diff --git
a/bin/osv/fields.py
b/bin/osv/fields.py
index
652a481
..
964dda1
100644
(file)
--- a/
bin/osv/fields.py
+++ b/
bin/osv/fields.py
@@
-774,6
+774,8
@@
class function(_column):
self._classic_write = True
if type=='binary':
self._symbol_get=lambda x:x and str(x)
+ else:
+ self._prefetch = True
if type == 'float':
self._symbol_c = float._symbol_c