Merge PR #1579 into 12.0

Signed-off-by pedrobaeza
pull/1585/head
OCA-git-bot 2020-04-15 14:35:34 +00:00
commit 40fa1787dd
5 changed files with 13 additions and 1 deletions

View File

@ -58,6 +58,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/12.0/web_advanced_search/static/img/debug_mode.png
Known issues / Roadmap
======================

View File

@ -20,3 +20,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

View File

@ -413,6 +413,11 @@ with a credit limit higher than X):</p>
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.</p>
<dl class="docutils">
<dt>Note also the domain dialog offers an editable preview in debug mode:</dt>
<dd><img alt="https://raw.githubusercontent.com/OCA/web/12.0/web_advanced_search/static/img/debug_mode.png" class="first last" src="https://raw.githubusercontent.com/OCA/web/12.0/web_advanced_search/static/img/debug_mode.png" />
</dd>
</dl>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#id5">Known issues / Roadmap</a></h1>

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -16,6 +16,7 @@ odoo.define("web_advanced_search", function (require) {
var SearchView = require("web.SearchView");
var Widget = require("web.Widget");
var Char = core.search_filters_registry.get("char");
var config = require("web.config");
var _lt = core._lt;
@ -105,7 +106,7 @@ odoo.define("web_advanced_search", function (require) {
this.dataset.model,
"[]",
{
debugMode: core.debug,
debugMode: config.debug,
readonly: false,
}
);