Search Panel

Beta License: LGPL-3 OCA/web Translate me on Weblate Try me on Runbot

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:

Possible values for the select attribute are

Additional optional attributes are available in the multi case:

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.

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

Authors

  • MuK IT

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.

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.