| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 441 |
| Technical Name |
omnibar_and_search |
| License | OPL-1 |
| Website | https://zidno.com/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 441 |
| Technical Name |
omnibar_and_search |
| License | OPL-1 |
| Website | https://zidno.com/ |
Advanced Omnibar AND Search
Powerful AND-style search directly from the Odoo omnibar
This module enhances the default Odoo omnibar search by allowing users to combine multiple filters using a safe AND-style behavior when selecting autocomplete suggestions.
Problem
In standard Odoo behavior, selecting an item from the omnibar autocomplete can replace existing search filters. This makes it harder to build complex searches quickly.
Power users often need to combine multiple conditions when filtering records. The default behavior can slow down workflows and require additional manual filtering.
Solution
Advanced Omnibar AND Search introduces a safe AND-based search behavior. When selecting autocomplete suggestions, filters can be combined instead of replaced.
The module works seamlessly inside the existing Odoo search interface and preserves the native behavior when the feature is not triggered.
Main Features
- AND-style filtering for omnibar search
- Modifier key activation (Shift, Ctrl, Meta)
- Optional always-on mode
- Defensive frontend patching
- Native Odoo behavior preserved when not used
- Optional debug logging
Configuration
The module behavior can be configured in:
static/src/js/config.esm.js
Available configuration options:
- mode: modifier | always | disabled
- modifier: shift | ctrl | meta | any
- debug: enable console logs
Example Workflow
- User searches in the omnibar
- Selects a suggestion
- Hold the configured modifier key (default: Shift)
- The filter is combined with existing filters using AND logic
This allows building complex searches much faster directly from the omnibar.
Compatibility
Compatible with Odoo 19.
The module uses defensive patching to minimize conflicts with other frontend modules and future Odoo updates.
License
This module is licensed under the Odoo Proprietary License v1.0, also known as OPL-1.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module