Search for x2x records in advanced search
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.
Usage
To use this module, you need to:
open the advanced search options in a search view
select a one2many, many2many or many2one field
select operator is equal to or is not equal to
the textfield changes to a many2one selection field where you can search for the record in question
click Apply
To search for properties of linked records (ie invoices for customers with a credit limit higher than X):
open the advanced search options in a search view
select a one2many, many2many or many2one field
select operator is in selection
in the search view that pops up, select the criteria
select the records you want, or select the top corner box to select all matching records with that criteria
click Select
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.
Known issues / Roadmap
When you use is in selection search system and choose a domain, it gets immediately applied, so to add a new condition, you will have to use again the Filters menu.
Credits
Contributors
Holger Brunn <hbrunn@therp.nl>
Vicent Cubells <vicent.cubells@tecnativa.com>
Jairo Llopis <jairo.llopis@tecnativa.com>
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.
Metadata
Release files for odoo9-addon-web-advanced-search-x2x 9.0.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo9_addon_web_advanced_search_x2x-9.0.1.0.1-py2-none-any.whl | Python 2 | none | any | Details for odoo9_addon_web_advanced_search_x2x-9.0.1.0.1-py2-none-any.whl |
Release files / odoo9_addon_web_advanced_search_x2x-9.0.1.0.1-py2-none-any.whl
| Download URL | odoo9_addon_web_advanced_search_x2x-9.0.1.0.1-py2-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9cc59807cdebe44b8de7ca89ca211c3410c70dfb92a19f8a535cd03f7d89f8ee
|
|
BLAKE2b-256 checksum How to use checksums |
84091627a16a342ac9c6a9f1294f49f5e259b9f93885e03ca0c5cd554639a595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for odoo9-addon-web-advanced-search-x2x 9.0.1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.