Use a search widget in advanced search for x2x fields
Project description
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
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
click Use criteria
if you’re only interested in certain records, mark them en click Select
if you want to change your selection afterwards, click the search symbol right of the selection term
In both cases, don’t forget to click Apply to actually execute the search.
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.
For further information, please visit:
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 http://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_advanced_search_x2x-8.0.1.0.0.99.dev20-py2-none-any.whl
.
File metadata
- Download URL: odoo8_addon_web_advanced_search_x2x-8.0.1.0.0.99.dev20-py2-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8df96cc4a862845c4756e03b41be20a14117befed011f6916a77b1ba91b2140 |
|
MD5 | c3c9dd5e0a8251f49992c3b8ad6ac8fb |
|
BLAKE2b-256 | 5ef85b1f65a24eb4a0a5b2a980b7d33ef8cf046a3111f45a0944b9d71bafd02c |