Skip to main content

Offer only items on autocompletion that will yield results

Project description

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3

============================
Prefetch autocomplete offers
============================

When searching, the autocomplete options can be a bit frustrating because you
will be offered choices that won't yield a result. This addon searches for the
term in the background and only offers an option if this search has a result.

Usage
=====

* go to ...
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/8.0

For further information, please visit:

* https://www.odoo.com/forum/help-1

Known issues / Roadmap
======================

* some searches (especially via function fields) can be very heavy on the
server.

To disable prefetching on a per field basis, set the option
`web_search_autocomplete_prefetch.disable`::
options="{'web_search_autocomplete_prefetch.disable': true}"
on your field in the search view.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/web/issues/new?body=module:%20web_search_autocomplete_prefetch%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* Holger Brunn <hbrunn@therp.nl>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo8_addon_web_search_autocomplete_prefetch-8.0.1.0.0.99.dev7-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_web_search_autocomplete_prefetch-8.0.1.0.0.99.dev7-py2-none-any.whl
Algorithm Hash digest
SHA256 07aeec7ce5a415c16520d210bdecf8d6c4abb7027f72c881d85c6bff23788bc9
MD5 69f84e1da2f4d864cb4cee2b19d18d35
BLAKE2b-256 c2c44d7f7fd127d3b0964e4ad55052daf7b54cb551ce0b3b1fd8470d88dcc792

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page