~numerigraphe/openobject-server/6.0-workflow-return-action

« back to all changes in this revision

Viewing changes to bin/osv/orm.py

  • Committer: Fabien Pinckaers
  • Date: 2011-01-18 13:12:47 UTC
  • Revision ID: fp@tinyerp.com-20110118131247-5pe69he7962q64p9
[IMP] comment for later use

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
            # read the results
204
204
            field_names = map(lambda x: x[0], fields_to_fetch)
205
205
            field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
 
206
 
 
207
            # TODO: improve this, very slow for reports
206
208
            if self._fields_process:
207
209
                lang = self._context.get('lang', 'en_US') or 'en_US'
208
210
                lang_obj_ids = self.pool.get('res.lang').search(self._cr, self._uid, [('code', '=', lang)])