Skip to main content

Add custom filters in standard filters and group by dropdowns

Project description

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

This module allows to define custom filters to be shown under the standard filters and group by menus of a model’s search view.

Table of contents

Configuration

  1. Go to Settings > Custom Filters.

  2. Create a new Custom Filter, and define following information:

    • The Model for which you are defining the filter.

    • The Type depending on whether you want to add a filter or a grouping by by a field.

    • The Domain that will be applied with the filter.

    • The Group By Field used to perform the group by.

    • The Group to have filters under the same separator.

  3. You can reorder records from the list view with the arrow handle. This will determine the order in which they appear in the filters/groupby menu.

  4. A separator is added between each custom filter added. You can create Custom Filter Groups to group filters that you want to have displayed under the same separator.

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 smashing 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

  • ForgeFlow S.L.:

    • Jordi Masvidal

  • Ashish Hirpara <https://www.ashish-hirpara.com>

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo14_addon_base_custom_filter-14.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_base_custom_filter-14.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7641f52c13a80603a8cccec6b13a56fb3ad283ce8678cfbc52daa44507333e6
MD5 d54d7f2a5f642dba51741c8120ce136c
BLAKE2b-256 78ed7b101d21d2723ee0f51da31b219a8116438525450ffe25254ba493e795f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page