Kanban Search Panel
Project description
With Odoo version 13 a new feature is added which allows kanban views to be extended by a search panel. This can be defined via XML and is then automatically added to the view. With this module the function is ported back to version 12.
Table of contents
Usage
This tool allows to quickly filter data on the basis of given fields. The fields are specified as direct children of the searchpanel with tag name field, and the following attributes:
name (mandatory) the name of the field to filter on
select determines the behavior and display.
groups: restricts to specific users
string: determines the label to display
icon: specifies which icon is used
color: determines the icon color
Possible values for the select attribute are
one (default) at most one value can be selected. Supported field types are many2one and selection.
multi several values can be selected (checkboxes). Supported field types are many2one, many2many and selection.
Additional optional attributes are available in the multi case:
domain: determines conditions that the comodel records have to satisfy.
A domain might be used to express a dependency on another field (with select=”one”) of the search panel. Consider
<searchpanel>
<field name="department_id"/>
<field name="manager_id" select="multi" domain="[('department_id', '=', department_id)]"/>
</searchpanel>
In the above example, the range of values for manager_id (manager names) available at screen will depend on the value currently selected for the field department_id.
groupby: field name of the comodel (only available for many2one and many2many fields). Values will be grouped by that field.
disable_counters: default is false. If set to true the counters won’t be computed.
This feature has been implemented in case performances would be too bad.
Another way to solve performance issues is to properly override the search_panel_select_multi_range method.
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
Contributors
Mathias Markl <mathias.markl@mukit.at>
Enric Tobella <etobella@creublanca.es>
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.
This module is part of the OCA/web 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 odoo12_addon_web_view_searchpanel-12.0.1.0.2-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_web_view_searchpanel-12.0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 38.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d90e844a977cebcd3dfe3041ac6acaedf5a6c455c47343339b9816e19a99e2c |
|
MD5 | 8f036fec37dce9c0ffe281c3c9ac4445 |
|
BLAKE2b-256 | ff7baaa765500a9184f4dec95de29abc9514852064cb627ff3a9a1c1a49e8140 |