Prefetch autocomplete offers

by ,
Odoo          
v 8.0 v 10.0 Third Party 211
Download for 8.0 series
You bought this module and need support ? Click here !
Technical name web_search_autocomplete_prefetch
LicenseAGPL-3
Read description for v 10.0
Technical name web_search_autocomplete_prefetch
LicenseAGPL-3
Read description for v 10.0
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

Try me on Runbot

For further information, please visit:

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.

  • by default, the addon triggers a search 350 milliseconds after the last key pess. If you want a different timeout, set the parameter web_search_autocomplete_prefetch.keypress_timeout to the amount of milliseconds you need as timeout.

Bug Tracker

Bugs are tracked on GitHub 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.

Credits

Contributors

Maintainer

Odoo Community Association

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.