'Returns a new version of this recordset attached to the provided
environment
.. warning::
The new environment will not benefit from the current
environment\'s data cache, so later data access may incur extra
delays while re-fetching from the database.
The returned recordset has the same prefetch object as ``self``.
:type env: :class:`~odoo.api.Environment`'

def with_env(self, env):

    return self._browse(self._ids, env, self._prefetch)
