Adapt to v9 API.

- Use the new domain widget.
- Use modules system.
This commit is contained in:
Jairo Llopis
2017-02-16 11:36:04 +01:00
committed by Pedro M. Baeza
parent a1ff073d9f
commit 3053b749d5
6 changed files with 163 additions and 192 deletions

View File

@@ -17,6 +17,7 @@ To use this module, you need to:
* 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):
@@ -24,11 +25,8 @@ To search for properties of linked records (ie invoices for customers with a cre
* 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.
* 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.
@@ -36,6 +34,13 @@ Note that you can stack searching for properties: Simply add another advanced se
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/154/9.0
Known issues / Roadmap
======================
* When you use *is [not] equal to* search system and click on an option with
the mouse, the search dropdown gets hidden and you have to reopen it and
reapply the filter. As a workaround, use the keyboard to select the option
you want.
Credits
=======
@@ -45,6 +50,7 @@ Contributors
* Holger Brunn <hbrunn@therp.nl>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* Jairo Llopis <jairo.llopis@tecnativa.com>
Maintainer
----------