Description
In many business workflows, users need to apply filters that require entering parameters (e.g., date range, amount range, customer selection, boolean switches).
Currently, in Odoo’s Search Panel / Filters, all filters must be predefined with static domain values. There is no native way to prompt the user to input parameters when a filter is activated.
This leads to a poor UX for scenarios where the filter is dynamic and depends on user input.
Typical example:
“Issued invoices for a selected date range”
“Payments with amount between X and Y”
“Filter partners by creation date range”
“Show documents before/after a chosen date”
Right now, this cannot be done without custom JavaScript or custom wizards placed outside the search interface.
Current Limitations
Filters in the search panel are static and cannot display any dialog.
It is not possible to attach a parameter form (wizard) to a filter.
No native mechanism exists to prompt the user for values before applying a domain.
Implementing this requires custom JS extending the web client, which is fragile during upgrades.
Expected Behavior
Introduce a native Odoo mechanism allowing a filter to trigger a small dialog (wizard) when clicked.
The dialog would allow the user to enter parameters which then dynamically generate the domain.
A possible structure:
User clicks a filter defined as “interactive” or “parameterized”.
Odoo automatically opens a dialog with relevant fields (date_from, date_to, checkboxes, selection lists…).
After clicking “Apply”, Odoo:
builds the domain dynamically
applies it to the current search
updates the search bar accordingly
This is similar to how other systems (SAP, MS Dynamics, NetSuite) allow “filters with parameters”, improving usability.
Benefits
Huge UX improvement: users can filter records using custom parameters without leaving the list view.
Cleaner architecture: no custom JavaScript hacks are required.
More powerful search functionality, especially for Accounting, Sales, Inventory, HR, and any heavily date-driven workflow.
Reduces need for custom modules and makes Odoo more competitive against ERP systems with dynamic filter dialogs.
Aligns with existing Odoo UX patterns (wizards are already widely used).
Example Use-case from Accounting
User wants “Issued invoices for a custom date range”.
Currently:
Must create multiple static filters (Last 7 days, Last month, This quarter…)
Or manually enter domain
Or create a custom wizard outside the search panel
Proposed:
Click “Date Range Filter”
Dialog opens (date_from + date_to)
User confirms
Odoo shows filtered invoices immediately
Why this should be in core
This pattern appears across all Odoo modules.
The community repeatedly implements the same JS customization.
As Odoo grows in larger companies, parameterized filters become essential.
It fits naturally into Odoo’s design language and modular architecture.
Additional Notes
This feature would not break existing search filters.
It would simply extend the capabilities of the SearchPanel / SearchView.
I am happy to provide mockups, example XML structures, or contribute additional specification details if helpful.