projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf47cf
)
[IMP] comment for later use
author
Fabien Pinckaers
<fp@tinyerp.com>
Tue, 18 Jan 2011 13:12:47 +0000
(14:12 +0100)
committer
Fabien Pinckaers
<fp@tinyerp.com>
Tue, 18 Jan 2011 13:12:47 +0000
(14:12 +0100)
bzr revid: fp@tinyerp.com-
20110118131247
-5pe69he7962q64p9
bin/osv/orm.py
patch
|
blob
|
history
diff --git
a/bin/osv/orm.py
b/bin/osv/orm.py
index
8071269
..
e862f2d
100644
(file)
--- a/
bin/osv/orm.py
+++ b/
bin/osv/orm.py
@@
-203,6
+203,8
@@
class browse_record(object):
# read the results
field_names = map(lambda x: x[0], fields_to_fetch)
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
+
+ # TODO: improve this, very slow for reports
if self._fields_process:
lang = self._context.get('lang', 'en_US') or 'en_US'
lang_obj_ids = self.pool.get('res.lang').search(self._cr, self._uid, [('code', '=', lang)])