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.

72 lines
2.1 KiB

  1. .. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
  2. :target: https://www.gnu.org/licenses/agpl
  3. :alt: License: AGPL-3
  4. ============================
  5. Wildcard in advanced search
  6. ============================
  7. This module adds 3 options to advanced search of char, many2one,
  8. many2many and one2many fields:
  9. * *starts with* (uses the domain *=ilike %<search string>*),
  10. * *ends with* (uses the domain *=ilike <search string>%*),
  11. * *matches* (uses the domain *=ilike <search string>*).
  12. Usage
  13. =====
  14. When selecting *matches*, use **%** as a placeholder.
  15. Example: "Zip" - 'matches' - "1%" gives all zip starting with 1
  16. .. image:: /web_advanced_search_wildcard/static/description/screenshot.png
  17. :alt: Screenshot
  18. Also allows insensitive exact search.
  19. Example "Name" - 'matches' - "john" will find "John" and "john" but not "Johnson".
  20. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  21. :alt: Try me on Runbot
  22. :target: https://runbot.odoo-community.org/runbot/162/10.0
  23. Bug Tracker
  24. ===========
  25. Bugs are tracked on `GitHub Issues
  26. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  27. check there if your issue has already been reported. If you spotted it first,
  28. help us smash it by providing detailed and welcomed feedback.
  29. Credits
  30. =======
  31. Images
  32. ------
  33. * Odoo Community Association: `Icon <https://odoo-community.org/logo.png>`_.
  34. Contributors
  35. ------------
  36. * Markus Schneider <markus.schneider@initos.com>
  37. * Thomas Rehn <thomas.rehn@initos.com>
  38. * L Freeke <lfreeke@therp.nl>
  39. * Alex Comba <alex.comba@agilebg.com>
  40. * Alexis de Lattre <alexis.delattre@akretion.com>
  41. Do not contact contributors directly about support or help with technical issues.
  42. Maintainer
  43. ----------
  44. .. image:: https://odoo-community.org/logo.png
  45. :alt: Odoo Community Association
  46. :target: https://odoo-community.org
  47. This module is maintained by the OCA.
  48. OCA, or the Odoo Community Association, is a nonprofit organization whose
  49. mission is to support the collaborative development of Odoo features and
  50. promote its widespread use.
  51. To contribute to this module, please visit https://odoo-community.org.