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.

53 lines
2.3 KiB

9 years ago
  1. Search for x2x records in advanced search
  2. =========================================
  3. Standard behavior in advanced search for one2many, many2many and many2one fields is to do a `name_search`. This often is not satisfactionary as you might want to search for other properties. There might also be cases where you don't exactly know what you're searching for, then a list of possible options is necessary too. This module enables you to have a full search view to select the record in question, and either select specific records or select them using a search query of its own.
  4. Usage
  5. =====
  6. To use this module, you need to:
  7. * open the advanced search options in a search view
  8. * select a one2many, many2many or many2one field
  9. * select operator `is equal to` or `is not equal to`
  10. * the textfield changes to a many2one selection field where you can search for the record in question
  11. To search for properties of linked records (ie invoices for customers with a credit limit higher than X):
  12. * open the advanced search options in a search view
  13. * select a one2many, many2many or many2one field
  14. * select operator `is in selection`
  15. * in the search view that pops up, select the criteria
  16. * click `Use criteria`
  17. * if you're only interested in certain records, mark them en click `Select`
  18. * if you want to change your selection afterwards, click the search symbol right of the selection term
  19. In both cases, don't forget to click `Apply` to actually execute the search.
  20. Note that you can stack searching for properties: Simply add another advanced search in the selection search window. You can do this indefinetely, so it is possible to search for moves belonging to a journal which has a user who is member of a certain group etc.
  21. For further information, please visit:
  22. * https://www.odoo.com/forum/help-1
  23. Credits
  24. =======
  25. Contributors
  26. ------------
  27. * Holger Brunn <hbrunn@therp.nl>
  28. Maintainer
  29. ----------
  30. .. image:: http://odoo-community.org/logo.png
  31. :alt: Odoo Community Association
  32. :target: http://odoo-community.org
  33. This module is maintained by the OCA.
  34. 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.
  35. To contribute to this module, please visit http://odoo-community.org.