Skip to main content
Odoo Community Association

Add custom filters in standard filters and group by dropdowns

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runboat

This module enables the definition of bespoke searches within a model’s search view, in addition to permitting the creation of custom filters that will be displayed beneath the standard filters, as well as within the group-by menus of a model’s search view.

Table of contents

Configuration

  1. Go to Settings > Custom Filters.

  2. Create a record assigning model, type (search/filter/groupby) and necessary attributes. Available fields and corresponding attributes (in brackets) for each type are as follows:

    Search:

    • Search Field (name)

    • Filter Domain (filter_domain)

    • User Groups (groups)

    Filter:

    • Domain (domain)

    • User Groups (groups)

    Group By:

    • Group By Field (field to be assigned to group_by context)

    • User Groups (groups)

    See the official documentation for the definition of each attribute. Additionally, filter and group-by records can be respectively grouped together with “Group” assignment (there will be a separator in between groups).

Usage

  1. Go to the model’s menu entry for which you have defined the filter.

  2. On the filters and group by dropdowns, you will see the configured filters.

Bug Tracker

Bugs are tracked on GitHub 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.

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

Credits

Authors

  • Ashish Hirpara

  • ForgeFlow

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainers:

AshishHirapara ForgeFlow

This module is part of the OCA/server-ux project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-base-custom-filter 18.0.1.0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-base-custom-filter 18.0.1.0.0.2
File Interpreter ABI Platform
odoo_addon_base_custom_filter-18.0.1.0.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_base_custom_filter-18.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_base_custom_filter-18.0.1.0.0.2-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d2c08d0b5e4365936a5a2cd4b9894bff97056307798fdcf63d68a1c70eebc89
BLAKE2b-256 checksum
How to use checksums
709416cc6433eb3e023a0c8307b8ed0eaa9c2a14c29ae4bc55234893cfb40d5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page