| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 325 |
| Technical Name |
quick_search_attachments |
| License | OPL-1 |
| Website | https://bitlevelcode.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 325 |
| Technical Name |
quick_search_attachments |
| License | OPL-1 |
| Website | https://bitlevelcode.com |
Quick Search Attachments
Search attachments instantly from Odoo command palette
This module extends Odoo 17 command palette (CTRL+K) so users can search attached files by filename across configured models. Results are grouped by model and can open either the file directly or the parent record.
Quick Overview About Quick Search Attachments
A focused productivity add-on for Odoo 17 that makes document lookup faster. Configure searchable models once, then find attachments by filename from anywhere in backend using the native command palette.
Fast attachment search
Find attachment files (PDF, image, docs, spreadsheets, etc.) by typing part of the filename in CTRL+K.
Model-based configuration
Choose exactly which models should be included in search results from Settings → Quick Search Documents.
Open file or record
Default mode opens the attachment file, and $ prefixed search opens the parent Odoo record.
Features
Built as a native Odoo command provider extension, with backend RPC search
on ir.attachment for configured models.
Search by attachment filename
Searches attachment names using partial text match. Results include the file name, mimetype icon, and parent record name.
Grouped result categories
Results are shown in command palette by model category so users can quickly identify where files belong.
Dual search mode
Plain text search opens attachments directly. Prefix with $ to open the parent record in form view.
Optional action per model
Configure a preferred action to open model records, or let the module auto-resolve a suitable window action.
Minimum query validation
Requires at least 2 characters before searching, helping keep the command palette clean and relevant.
Native Odoo implementation
Implemented using Odoo command provider registry and ORM RPC, without intrusive UI overrides.
How It Works
The module reads configured models, searches matching attachments from backend, and injects commands into the global command palette.
Configure models
Admin adds one or more model entries in Quick Search Attachments settings.
Search in CTRL+K
User enters at least 2 characters. Module calls backend method to fetch matching attachments.
View grouped results
Commands are displayed by model category with filename and parent record name.
Open file or record
Click to open file in new tab, or search with $ prefix to open parent record.
Configuration Guide
Setup takes only a few steps and works with any model that stores attachments.
Install the module
Go to Apps, search for Quick Search Attachments, and install.
Add model entries
Open Settings → Quick Search Documents and define models to include in search.
Search from palette
Press CTRL+K, type filename text, and open the desired result.
Screenshots
A visual overview of configuration and quick search flow for document attachments.
Frequently Asked Questions
Which files are included in results?
The module searches ir.attachment binary files linked to configured models.
It can return PDFs, images, office documents, and other file types.
Can I open the parent record instead of the attachment?
Yes. Use $ in command palette (for example, $invoice).
This mode opens the parent record in Odoo form view.
Is there a minimum search length?
Yes. You must type at least 2 characters before search results appear.
Where do I configure searchable models?
Go to Settings → Quick Search Documents, then add entries with model, label, and optional action.
Is it compatible with Odoo Community and Enterprise?
Yes. This module targets Odoo 17 and works with both Community and Enterprise.
Our Apps
Explore more productivity and security apps for Odoo. If you are looking for a specific feature, feel free to contact us for a recommendation.
Need Help or Customization?
If you need assistance configuring Quick Search Attachments or extending the behavior for your business flow, feel free to contact us.
Contact
Write to us and we will respond as soon as possible.
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