Skip to content

Commit

Permalink
[FIX] web_advanced_search: fix typo's in README
Browse files Browse the repository at this point in the history
  • Loading branch information
NL66278 committed Mar 25, 2024
1 parent 7a916a1 commit 646a14e
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 29 deletions.
6 changes: 3 additions & 3 deletions web_advanced_search/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Advanced search
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:db4454aafc2b4081cee7a74e66be581e4c624d6760673de0b9bc2e33369495b2
!! source digest: sha256:b5c086e7bab29fa5de61fd1ddeaa7a51792829f149d969f29b702aa3c31b89cf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -68,8 +68,8 @@ In Selection operator

It is also possible when having selected a relational field to filter on, to
choose for the 'is in selection' operator. This will result in opening a list view for
the related model, where it is possible either to select some records, and then use the
'Select' butto, or to enter filters on the related model, and then click the
the related model, where it is possible to either select some records, and then use the
'Select' button, or to enter filters on the related model, and then click the
'Use Criteria' button.

Example: select the 'Created By' field to filter Invoices, and then 'is in selection'
Expand Down
4 changes: 2 additions & 2 deletions web_advanced_search/readme/USAGE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ In Selection operator

It is also possible when having selected a relational field to filter on, to
choose for the 'is in selection' operator. This will result in opening a list view for
the related model, where it is possible either to select some records, and then use the
'Select' butto, or to enter filters on the related model, and then click the
the related model, where it is possible to either select some records, and then use the
'Select' button, or to enter filters on the related model, and then click the
'Use Criteria' button.

Example: select the 'Created By' field to filter Invoices, and then 'is in selection'
Expand Down
88 changes: 64 additions & 24 deletions web_advanced_search/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,26 +367,30 @@ <h1 class="title">Advanced search</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:db4454aafc2b4081cee7a74e66be581e4c624d6760673de0b9bc2e33369495b2
!! source digest: sha256:b5c086e7bab29fa5de61fd1ddeaa7a51792829f149d969f29b702aa3c31b89cf
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/14.0/web_advanced_search"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_advanced_search"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>More powerful and easy to use search, especially for related fields.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-3">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-4">11.0.1.0.2 (2018-10-31)</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-5">11.0.1.0.1 (2018-09-18)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-6">11.0.1.0.0 (2018-07-20)</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a><ul>
<li><a class="reference internal" href="#in-selection-operator" id="toc-entry-2">In Selection operator</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-7">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-8">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-9">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-10">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-11">Maintainers</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-3">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-4">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-5">14.0.2.0.0 (2021-09-21)</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-6">11.0.1.0.2 (2018-10-31)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-7">11.0.1.0.1 (2018-09-18)</a></li>
<li><a class="reference internal" href="#section-4" id="toc-entry-8">11.0.1.0.0 (2018-07-20)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-9">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-10">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-11">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-12">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-13">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -419,9 +423,29 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<dd><img alt="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/debug_mode.png" class="first last" src="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/debug_mode.png" />
</dd>
</dl>
<div class="section" id="in-selection-operator">
<h2><a class="toc-backref" href="#toc-entry-2">In Selection operator</a></h2>
<p>It is also possible when having selected a relational field to filter on, to
choose for the ‘is in selection’ operator. This will result in opening a list view for
the related model, where it is possible to either select some records, and then use the
‘Select’ button, or to enter filters on the related model, and then click the
‘Use Criteria’ button.</p>
<p>Example: select the ‘Created By’ field to filter Invoices, and then ‘is in selection’
as operator:</p>
<img alt="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/01-is-in-selection-operator.png" src="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/01-is-in-selection-operator.png" />
<p>Then select some records and click on the select button:</p>
<img alt="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/02-select-button.png" src="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/02-select-button.png" />
<p>Only invoices created by the selected users will be shown:</p>
<img alt="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/03-select-result.png" src="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/03-select-result.png" />
<p>Another example would be to filter on the invoice partners:</p>
<img alt="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/04-use-criteria-button.png" src="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/04-use-criteria-button.png" />
<p>Now only invoices for partners that are companies, and are in a country with ‘Swit’ in
the name will be shown:</p>
<img alt="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/05-use-criteria-result.png" src="https://raw.githubusercontent.com/OCA/web/14.0/web_advanced_search/static/img/05-use-criteria-result.png" />
</div>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
<h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
<p>Improvements to the <tt class="docutils literal">domain</tt> widget, not exclusively related to this addon:</p>
<ul class="simple">
<li>Use relational widgets when filtering a relational field</li>
Expand All @@ -436,12 +460,24 @@ <h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
<p>Issues:</p>
<ul class="simple">
<li>Grouped totals can show incorrect values. See <a class="reference external" href="https://github.com/odoo/odoo/issues/47950">https://github.com/odoo/odoo/issues/47950</a></li>
<li>DomainSelector Dialog cannot correctly show ‘in selection’ domains.</li>
</ul>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#toc-entry-3">Changelog</a></h1>
<h1><a class="toc-backref" href="#toc-entry-4">Changelog</a></h1>
<div class="section" id="section-1">
<h2><a class="toc-backref" href="#toc-entry-4">11.0.1.0.2 (2018-10-31)</a></h2>
<h2><a class="toc-backref" href="#toc-entry-5">14.0.2.0.0 (2021-09-21)</a></h2>
<ul>
<li><p class="first">Restore the ‘is in selection’ operator.</p>
<p>The ‘is in selection’ operator offers a really convenient way to either pick a
selection of related records, or specify criteria / filters to define a domain for
the related records.</p>
<p>[NL66278]</p>
</li>
</ul>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-6">11.0.1.0.2 (2018-10-31)</a></h2>
<ul>
<li><p class="first">Fix initialization of 1st domain node</p>
<p>Sometime the dialog is not ready yet, like on EE version.
Expand All @@ -451,8 +487,8 @@ <h2><a class="toc-backref" href="#toc-entry-4">11.0.1.0.2 (2018-10-31)</a></h2>
</li>
</ul>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-5">11.0.1.0.1 (2018-09-18)</a></h2>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-7">11.0.1.0.1 (2018-09-18)</a></h2>
<ul>
<li><p class="first">Fix <cite>undefined</cite> in x2m fields</p>
<p>Before this patch, when searching with the “equals to” operator in any
Expand All @@ -470,8 +506,8 @@ <h2><a class="toc-backref" href="#toc-entry-5">11.0.1.0.1 (2018-09-18)</a></h2>
</li>
</ul>
</div>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-6">11.0.1.0.0 (2018-07-20)</a></h2>
<div class="section" id="section-4">
<h2><a class="toc-backref" href="#toc-entry-8">11.0.1.0.0 (2018-07-20)</a></h2>
<ul>
<li><p class="first">Rename, refactor, migrate to v11</p>
<p>[Yajo]</p>
Expand All @@ -480,24 +516,24 @@ <h2><a class="toc-backref" href="#toc-entry-6">11.0.1.0.0 (2018-07-20)</a></h2>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-7">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-9">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_advanced_search%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-8">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-10">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-9">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-11">Authors</a></h2>
<ul class="simple">
<li>Therp BV</li>
<li>Tecnativa</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-10">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-12">Contributors</a></h2>
<ul class="simple">
<li>Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</li>
<li>Rami Alwafaie &lt;<a class="reference external" href="mailto:rami.alwafaie&#64;initos.com">rami.alwafaie&#64;initos.com</a>&gt;</li>
Expand All @@ -514,10 +550,14 @@ <h2><a class="toc-backref" href="#toc-entry-10">Contributors</a></h2>
<li>Raf Ven</li>
</ul>
</li>
<li><a class="reference external" href="https://therp.nl">Therp BV</a>:<ul>
<li>Ronald Portier</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-11">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-13">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
Expand Down

0 comments on commit 646a14e

Please sign in to comment.