From 9512242666f56b62e8cbfb36241e33cb76ae0887 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 23 Mar 2020 10:23:02 +0000 Subject: [PATCH] [UPD] README.rst --- web_advanced_search/README.rst | 8 +++++++- web_advanced_search/static/description/index.html | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/web_advanced_search/README.rst b/web_advanced_search/README.rst index 54d2fcebb..a0ac2b718 100644 --- a/web_advanced_search/README.rst +++ b/web_advanced_search/README.rst @@ -39,7 +39,8 @@ To use this module, you need to: * Open *Filters* in a search view * Select any relational field -* Select operator `is equal to` or `is not equal to` +* Select one of operators: `is equal to`, `is not equal to`, `is child of`, + or `is parent of` * The text field changes to a relational selection field where you can search for the record in question * Click *Apply* @@ -71,6 +72,10 @@ Improvements to the search view in this addon: * Use widgets ``many2many_tags`` when searching ``many2many`` fields * Allow to edit current full search using the advanced domain editor +Improvements to the `is child of`/`is parent of` operators: + +* Show the operators only for models with `_parent_store = True` + Changelog ========= @@ -144,6 +149,7 @@ Contributors * Jose Mª Bernet * Simone Orsi * Dennis Sluijk +* Alexey Pelykh Maintainers ~~~~~~~~~~~ diff --git a/web_advanced_search/static/description/index.html b/web_advanced_search/static/description/index.html index 0f6d59e61..e3b2e7903 100644 --- a/web_advanced_search/static/description/index.html +++ b/web_advanced_search/static/description/index.html @@ -395,7 +395,8 @@ ul.auto-toc {
  • Open Filters in a search view
  • Select any relational field
  • -
  • Select operator is equal to or is not equal to
  • +
  • Select one of operators: is equal to, is not equal to, is child of, +or is parent of
  • The text field changes to a relational selection field where you can search for the record in question
  • Click Apply
  • @@ -426,6 +427,10 @@ to a journal which has a user who is member of a certain group etc.

  • Use widgets many2many_tags when searching many2many fields
  • Allow to edit current full search using the advanced domain editor
+

Improvements to the is child of/is parent of operators:

+
    +
  • Show the operators only for models with _parent_store = True
  • +

Changelog

@@ -495,6 +500,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Jose Mª Bernet <josemaria.bernet@guadaltech.es>
  • Simone Orsi <simone.orsi@camptocamp.com>
  • Dennis Sluijk <d.sluijk@onestein.nl>
  • +
  • Alexey Pelykh <alexey.pelykh@brainbeanapps.com>