Add custom filters in standard filters and group by dropdowns
Project description
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
Go to Settings > Custom Filters.
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
Go to the model’s menu entry for which you have defined the filter.
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
Contributors
-
Jordi Masvidal
Ashish Hirpara <https://www.ashish-hirpara.com>
-
Aung Ko Ko Lin
Maintainers
This module is maintained by the OCA.
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_base_custom_filter-16.0.1.1.0.5-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_base_custom_filter-16.0.1.1.0.5-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04d0ad7cef1810502395d8ba2baa53bee520bdbea86745579e62b200778dc8cb |
|
MD5 | d0fbdf409d5e4eabb73f4d0c552abe7b |
|
BLAKE2b-256 | 3a838514953be7969765b7a3bcffa68a75bc4ab84b587f94c218e74fd05d582a |