Odoo Global Advanced Search Bar — Multi-Model Search, Shortcuts, Favorites & Recent Searches
by Webbycrown Solutions https://www.webbycrown.com$ 117.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 4591 |
| Technical Name |
advance_search_bar |
| License | LGPL-3 |
| Website | https://www.webbycrown.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 4591 |
| Technical Name |
advance_search_bar |
| License | LGPL-3 |
| Website | https://www.webbycrown.com |
| Versions | 16.0 17.0 18.0 19.0 |
Advance Search Bar
Persistent advance search below the main navbar: multi-model search, filters & group by from list views, favorites, shortcuts, recent queries, panel / stacked layouts, and optional colorful theme.
Advance Search Bar — Overview
Backend-wide quick search
Advance Search Bar adds a configurable search strip under the main menu. Users search across one model or all configured models, open form views from results, jump to list views with the same domain, and manage shortcuts and saved searches (favorites). Optional remember filter options and recent searches persist on the user. Import/export shortcuts as JSON from user preferences.
Core capabilities:
Multi-model search with admin allowlist and optional per-user model filter |
List-view filters & group by when a single model is selected |
Dropdown layouts: standard, panel (side rail), stacked (top rail + accordion recent) |
Optional colorful theme and panel options (filters strip, results header, counts) |
Shortcuts (list/kanban/new), favorites, recent searches, keyboard navigation |
Depends: web only — Odoo 17.0 |
Technical highlights:
OWL frontend, advance.search.bar transient API model |
User prefs on res.users; security group for bar users |
Search view XML integration for filters & group-by |
Systray toggle & web client patch for placement under navbar |
Key benefits
- Always visible: Search from any backend screen without opening a menu first.
- Multi-model: Restrict the global model list in settings; users can further limit models in preferences.
- List-view parity: Reuse predefined filters and group-by from the model’s search view when one model is selected.
- Layouts & theme: Standard, panel, or stacked dropdown; subtle or colorful styling — all per user.
- Shortcuts & favorites: Open list/kanban/new with optional domains; save named searches and optional default-on-load favorite.
- Lightweight dependency: Depends on
webonly (Odoo 17).
Screenshots
Filter mega-menu, My preferences, shortcuts & JSON import, system (admin) settings for the global model list, and the persistent search bar with results in the backend.
Advanced filter mega-menu — Four-column layout: pick the model scope, match mode (contains / starts with / exact), include archived, created-from / created-to dates; when one model is selected, apply the same search-view filters and group by as in list views; run saved searches (favorites) and open full preferences from the menu.
My preferences (Advance Search Bar) — Per-user model allowlist, search result display (field details vs one line), dropdown layout (standard / panel / stacked), color theme (subtle / colorful) and panel options, shortcuts position & layout, remember filter options, store recent searches, shortcuts & favorites lists, plus import/export shortcuts JSON.
Shortcuts — Configure position (left/right), layout (dropdown grouped by model vs one button per shortcut), and show in bar from My preferences → Advance Search Bar. Use Export shortcuts (JSON) / Import shortcuts (JSON) on the same tab to back up or share shortcut sets. Paste JSON below into the import wizard (not into system parameters).
Sample import JSON — Each model must exist in the global allowlist (advance_search_bar.search_models) and be allowed for your user. open_mode is list, kanban, or form_new. list_domain_json is an Odoo domain as a JSON string (or omit / empty for no filter).
{
"version": 1,
"shortcuts": [
{
"sequence": 10,
"model": "res.partner",
"open_mode": "list",
"shortcut_label": "Customers",
"list_domain_json": "[[\"customer_rank\", \">\", 0]]"
},
{
"sequence": 20,
"model": "sale.order",
"open_mode": "kanban",
"shortcut_label": "Quotations",
"list_domain_json": "[[\"state\", \"in\", [\"draft\", \"sent\"]]]"
}
]
}
Replace model names and domains with values valid in your database. Import merges with existing shortcuts unless you choose to replace them in the wizard.
System settings (administrator) — Define the global allowlist of models the bar may search: set system parameter advance_search_bar.search_models to a comma-separated list of technical model names (e.g. res.partner,sale.order). Configure under Settings → Technical → Parameters → System Parameters (admin / technical rights). Users can still narrow the list further in My preferences.
Persistent bar & results — Strip under the navbar on web only; grouped hits by model, open form or view all with the same domain; optional panel or stacked layout with filters strip, results header, and recent searches rail (accordion in stacked mode); systray toggle and keyboard-friendly navigation.
Modules & main features
Search & results dropdown
- Multi-model: Search one model or all models from the strip; hits grouped by model with optional sidebar or stacked top rail.
- Display: Field-details table or one-line names; match highlighting; “view all” opens the list with the same domain.
- Layouts: Standard list, panel (filters strip + card groups + recent rail), or stacked (horizontal model pills, results, collapsible recent).
Filters & list-view options
- Match & scope: Contains, starts with, or exact match; include archived; optional created-from / created-to date window.
- Search view: When one model is selected, optional
<filter>domains andgroup_byfrom that model’s search view apply to the bar and “view all”. - Mega-menu: Four-column filter UI, saved-search row, and link to full user preferences.
Shortcuts, favorites & data
- Shortcuts: Per-user links to list, kanban, or new action with optional domain JSON.
- Favorites: Save named searches; optional default favorite on load; export/import shortcuts wizard.
- Recent: Optional server-stored recent queries; clear from the rail; keyboard-friendly navigation in results.
User preferences & look
- Preferences tab: Model allowlist, result format, dropdown layout, colorful vs subtle theme, panel toggles, shortcuts position & display.
- Persistence: Optional “remember filter options” and “store recent searches” on the user record.
- Bar visibility: Systray toggle and optional local preference for expanded/collapsed bar height.
FAQs
1. Which models appear in the bar?
Administrators set a comma-separated list in ir.config_parameter advance_search_bar.search_models. Users with access can optionally restrict the dropdown further in My preferences → Advance Search Bar.
2. Where are shortcuts and favorites stored?
On the user record (res.users), editable from the Advance Search Bar tab in preferences. Shortcuts can be exported/imported as JSON from the same screen.
3. Do panel / stacked layouts need extra configuration?
No. Each user picks Results dropdown layout (standard, panel, or stacked) and optional color theme in preferences. Panel options (filters strip, results header, group counts) apply to panel and stacked styles.
4. Is the module extendable?
Yes. It uses standard Odoo web assets, ORM methods on advance.search.bar, and user fields on res.users, so you can extend search domains, add models to the allowlist, or adjust security groups like any other module.
Explore our other addons
Advance Export Pro
Advanced export with API integration, field mapping, scheduled exports, and batch processing.
View addon
Advanced Import Pro
Multi-format import with API integration, field mapping, scheduled imports, and batch processing.
View addonContact & Support
Have any question?
Sales : +91 (942) 867-7503
Please log in to comment on this module