parameters: (self, field, limit=PREFETCH_MAX)
return_statement: return self.browse(ids)
docstring: Return records to prefetch that have no value in cache for ``field``
              (:class:`Field` instance), including ``self``.
              Return at most ``limit`` records.
docstring_summary: Return records to prefetch that have no value in cache for ``field``
              (:class:`Field` instance), including ``self``.
              Return at most ``limit`` records.
docstring_tokens: Return records to prefetch that have no value in cache for field ( : class : Field instance ) including self . Return at most limit records .
function: def _in_cache_without(self, field, limit=PREFETCH_MAX):
          """ Return records to prefetch that have no value in cache for ``field``
              (:class:`Field` instance), including ``self``.
              Return at most ``limit`` records.
          """
          ids = expand_ids(self.id, self._prefetch_ids)
          ids = self.env.cache.get_missing_ids(self.browse(ids), field)
          if limit:
              ids = itertools.islice(ids, limit)
          # Those records are aimed at being either fetched, or computed.  But the
          # method '_fetch_field' is not correct with new records: it considers
          # them as forbidden records, and clears their cache!  On the other hand,
          # compute methods are not invoked with a mix of real and new records for
          # the sake of code simplicity.
          return self.browse(ids)
function_tokens: def _in_cache_without ( self , field , limit = PREFETCH_MAX ) : ids = expand_ids ( self . id , self . _prefetch_ids ) ids = self . env . cache . get_missing_ids ( self . browse ( ids ) , field ) if limit : ids = itertools . islice ( ids , limit ) # Those records are aimed at being either fetched, or computed.  But the # method '_fetch_field' is not correct with new records: it considers # them as forbidden records, and clears their cache!  On the other hand, # compute methods are not invoked with a mix of real and new records for # the sake of code simplicity. return self . browse ( ids )