You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.2 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ============================
  4. Prefetch autocomplete offers
  5. ============================
  6. When searching, the autocomplete options can be a bit frustrating because you
  7. will be offered choices that won't yield a result. This addon searches for the
  8. term in the background and only offers an option if this search has a result.
  9. Usage
  10. =====
  11. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  12. :alt: Try me on Runbot
  13. :target: https://runbot.odoo-community.org/runbot/162/8.0
  14. For further information, please visit:
  15. * https://www.odoo.com/forum/help-1
  16. Known issues / Roadmap
  17. ======================
  18. * some searches (especially via function fields) can be very heavy on the
  19. server.
  20. To disable prefetching on a per field basis, set the option
  21. `web_search_autocomplete_prefetch.disable`::
  22. options="{'web_search_autocomplete_prefetch.disable': true}"
  23. on your field in the search view.
  24. * by default, the addon triggers a search 350 milliseconds after the last key
  25. pess. If you want a different timeout, set the parameter
  26. ``web_search_autocomplete_prefetch.keypress_timeout`` to the amount of
  27. milliseconds you need as timeout.
  28. Bug Tracker
  29. ===========
  30. Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
  31. In case of trouble, please check there if your issue has already been reported.
  32. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  33. `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**>`_.
  34. Credits
  35. =======
  36. Contributors
  37. ------------
  38. * Holger Brunn <hbrunn@therp.nl>
  39. Maintainer
  40. ----------
  41. .. image:: https://odoo-community.org/logo.png
  42. :alt: Odoo Community Association
  43. :target: https://odoo-community.org
  44. This module is maintained by the OCA.
  45. OCA, or the Odoo Community Association, is a nonprofit organization whose
  46. mission is to support the collaborative development of Odoo features and
  47. promote its widespread use.
  48. To contribute to this module, please visit https://odoo-community.org.