diff --git a/web_advanced_search/README.rst b/web_advanced_search/README.rst index 631fb9945..a16297efc 100644 --- a/web_advanced_search/README.rst +++ b/web_advanced_search/README.rst @@ -57,6 +57,9 @@ 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. +Note also the domain dialog offers an editable preview in debug mode: + .. image:: https://raw.githubusercontent.com/OCA/web/13.0/web_advanced_search/static/img/debug_mode.png + Known issues / Roadmap ====================== diff --git a/web_advanced_search/readme/USAGE.rst b/web_advanced_search/readme/USAGE.rst index b8e6f2778..76f224a0d 100644 --- a/web_advanced_search/readme/USAGE.rst +++ b/web_advanced_search/readme/USAGE.rst @@ -19,3 +19,6 @@ 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. + +Note also the domain dialog offers an editable preview in debug mode: + .. image:: ../static/img/debug_mode.png diff --git a/web_advanced_search/static/description/index.html b/web_advanced_search/static/description/index.html index cb77eb4f1..c95c15b45 100644 --- a/web_advanced_search/static/description/index.html +++ b/web_advanced_search/static/description/index.html @@ -412,6 +412,11 @@ with a credit limit higher than X):

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.

+
+
Note also the domain dialog offers an editable preview in debug mode:
+
https://raw.githubusercontent.com/OCA/web/13.0/web_advanced_search/static/img/debug_mode.png +
+

Known issues / Roadmap

diff --git a/web_advanced_search/static/img/debug_mode.png b/web_advanced_search/static/img/debug_mode.png new file mode 100644 index 000000000..e9a4b46ff Binary files /dev/null and b/web_advanced_search/static/img/debug_mode.png differ diff --git a/web_advanced_search/static/src/js/web_advanced_search.js b/web_advanced_search/static/src/js/web_advanced_search.js index 15724b0c0..b5df59d42 100644 --- a/web_advanced_search/static/src/js/web_advanced_search.js +++ b/web_advanced_search/static/src/js/web_advanced_search.js @@ -97,7 +97,7 @@ odoo.define("web_advanced_search", function(require) { this._modelName, "[]", { - debugMode: config.debug, + debugMode: config.isDebug(), readonly: false, } );