Offer only items on autocompletion that will yield results
Project description
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
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
Holger Brunn <hbrunn@therp.nl>
Maintainer
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo8_addon_web_search_autocomplete_prefetch-8.0.1.0.0.99.dev14-py2-none-any.whl
.
File metadata
- Download URL: odoo8_addon_web_search_autocomplete_prefetch-8.0.1.0.0.99.dev14-py2-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296fd872ae6424aeb0fea005d89f15a32be017cd3f00eef88e2513dfff15fe62 |
|
MD5 | d7490fdd41acff1d6d41abb69aa3715c |
|
BLAKE2b-256 | c83ac4f0db4b18a563780ba2628f359d42edaf8c4c6c90d159c5d5f0681f68d6 |