Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2ed1a58
Squash of 8 commits
Apr 27, 2015
4c1b924
Migrate web_search_with_and from 8.0 to 10.0
Creamaster Feb 2, 2017
5a091bf
web_search_with_and: Migration to 11.0
OpenCode Mar 20, 2018
86c0db8
Update web_search_with_and.pot
oca-travis Jun 24, 2018
fa2beb4
Port web_search_with_and to version 12.0
ddufresne Feb 22, 2019
eb09276
Update web_search_with_and.pot
oca-travis Oct 9, 2019
bbc43ea
README.rst
OCA-git-bot Oct 9, 2019
e34b4e2
Added translation using Weblate (Portuguese)
pedrocs-exo Jun 18, 2020
1435713
README.rst
OCA-git-bot Jul 13, 2020
f5e6d89
README.rst
OCA-git-bot Jul 14, 2020
e3b2a35
Added translation using Weblate (Spanish)
claudiagn Jul 23, 2020
eb21365
- migration web_search_with_and
sbejaoui Nov 9, 2020
e2128cc
Update web_search_with_and.pot
oca-travis Nov 10, 2020
fd695c9
README.rst
OCA-git-bot Nov 10, 2020
6f5e64b
Added translation using Weblate (Italian)
alessandro-fiorino Jan 22, 2021
9986c87
web_search_with_and: black, isort, prettier
pedroguirao Jan 14, 2022
e39b75b
web_search_with_and: Migration to 14.0
pedroguirao Jan 14, 2022
7d6dd39
Update web_search_with_and.pot
oca-travis Mar 18, 2022
710df44
README.rst
OCA-git-bot Mar 18, 2022
effaa5a
web_search_with_and: Migration to 15.0
Mar 24, 2022
e134ac4
Update web_search_with_and.pot
May 22, 2022
19d4aee
README.rst
OCA-git-bot May 22, 2022
c853d7c
[16.0][MIG] web_search_with_and.
Sandip-scs Jan 13, 2023
5308ed2
[UPD] Update web_search_with_and.pot
Jan 31, 2023
91f0170
[UPD] README.rst
OCA-git-bot Jan 31, 2023
7fc03d8
Update translation files
weblate Jan 31, 2023
60b1e87
[UPD] README.rst
OCA-git-bot Sep 3, 2023
8a92693
[IMP] web_search_with_and: black, isort, prettier
JasminSForgeFlow Feb 12, 2025
1a6d368
[MIG] web_search_with_and: Migration to 17.0
JasminSForgeFlow Feb 12, 2025
5eddf92
[IMP] web_search_with_and: black, isort, prettier
JasminSForgeFlow Mar 7, 2025
83b5f22
[MIG] web_search_with_and: Migration to 18.0
JasminSForgeFlow Mar 7, 2025
c80777b
[UPD] Update web_search_with_and.pot
Mar 11, 2025
8e81d27
[BOT] post-merge updates
OCA-git-bot Mar 11, 2025
4b678af
[FIX] web_search_with_and: support add custom filter
CRogos Jun 27, 2025
6308304
[BOT] post-merge updates
OCA-git-bot Jul 28, 2025
b0ba574
Added translation using Weblate (Turkish)
bo-eska Sep 15, 2025
90a7413
[MIG] web_search_with_and: Migration to 19.0
lef-adhoc Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions web_search_with_and/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

====================================
Use AND conditions on omnibar search
====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4c0955a2db162c21ca78f197a6e3f0731a632a09c094b34bf70bc81d01eaa24c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/19.0/web_search_with_and
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_search_with_and
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

When searching for records on same field Odoo joins multiple queries
with OR. For example:

- Perform a search for customer "John" on field Name
- Odoo displays customers containing "John"
- Search for "Smith" on same field Name
- Odoo displays customers containing "John" OR "Smith"

With this module installed you can press Shift key before searching for
"Smith" and Odoo finds customers containing "John" AND "Smith"

**Table of contents**

.. contents::
:local:

Usage
=====

- Enter your value in omnibar search field
- Press and hold Shift key
- Select field with mouse or keyboard to perform search on

|Try me on Runbot|

.. |Try me on Runbot| image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:target: https://runbot.odoo-community.org/runbot/162/11.0

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
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
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_search_with_and%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Sandip SCS
* Versada UAB
* ACSONE SA/NV
* Serincloud

Contributors
------------

- Andrius Preimantas <[email protected]>
- Adrien Didenot <[email protected]>
- Francesco Apruzzese <[email protected]>
- Numigi (tm) and all its contributors (https://bit.ly/numigiens)
- Souheil Bejaoui <[email protected]>
- Pedro Guirao <[email protected]>
- Nedas Žilinskas <[email protected]>
- Sandip SerpentCS <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/19.0/web_search_with_and>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added web_search_with_and/__init__.py
Empty file.
20 changes: 20 additions & 0 deletions web_search_with_and/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2015 Andrius Preimantas <[email protected]>
# Copyright 2020 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Use AND conditions on omnibar search",
"version": "19.0.1.0.0",
"author": """Sandip SCS, Versada UAB, ACSONE SA/NV, Serincloud,
Odoo Community Association (OCA)""",
"license": "AGPL-3",
"category": "web",
"website": "https://github.com/OCA/web",
"depends": ["web"],
"assets": {
"web.assets_backend": [
"/web_search_with_and/static/src/js/search_model.esm.js",
"/web_search_with_and/static/src/js/search_bar.esm.js",
],
},
}
Empty file added web_search_with_and/i18n/es.po
Empty file.
Empty file added web_search_with_and/i18n/it.po
Empty file.
Empty file added web_search_with_and/i18n/pt.po
Empty file.
14 changes: 14 additions & 0 deletions web_search_with_and/i18n/tr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
13 changes: 13 additions & 0 deletions web_search_with_and/i18n/web_search_with_and.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
3 changes: 3 additions & 0 deletions web_search_with_and/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
8 changes: 8 additions & 0 deletions web_search_with_and/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- Andrius Preimantas \<<[email protected]>\>
- Adrien Didenot \<<[email protected]>\>
- Francesco Apruzzese \<<[email protected]>\>
- Numigi (tm) and all its contributors (<https://bit.ly/numigiens>)
- Souheil Bejaoui \<<[email protected]>\>
- Pedro Guirao \<<[email protected]>\>
- Nedas Žilinskas \<<[email protected]>\>
- Sandip SerpentCS \<<[email protected]>\>
10 changes: 10 additions & 0 deletions web_search_with_and/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
When searching for records on same field Odoo joins multiple queries
with OR. For example:

- Perform a search for customer "John" on field Name
- Odoo displays customers containing "John"
- Search for "Smith" on same field Name
- Odoo displays customers containing "John" OR "Smith"

With this module installed you can press Shift key before searching for
"Smith" and Odoo finds customers containing "John" AND "Smith"
5 changes: 5 additions & 0 deletions web_search_with_and/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Enter your value in omnibar search field
- Press and hold Shift key
- Select field with mouse or keyboard to perform search on

[![Try me on Runbot](https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas)](https://runbot.odoo-community.org/runbot/162/11.0)
Binary file added web_search_with_and/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading