Skip to main content

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

Adds a dashboard where you can configure tiles from any view and add them as short cut.

By default, the tile displays items count of a given model restricted to a given domain.

Optionally, the tile can display the result of a function on a field.

  • Function is one of sum, avg, min, max or median.

  • Field must be integer or float.

Tile can be:

  • Displayed only for a user.

  • Global for all users.

  • Restricted to some groups.

Note: The tile will be hidden if the current user doesn’t have access to the given model.

Table of contents

Configuration

First, you have to create tile categories.

  • Go to “Dashboards > Settings > Dashboard Categories”

  • Click on Create

  • Set a name, and save.

Odoo menu and action are automatically created. You should refresh your browser to see new menu items.

https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_category_form.png

Then you can create tiles.

  • go to “Dashboards > Settings > Dashboard Tiles”

  • create a new tile, set a name, a category and a model.

  • You can optionally define colors, domain a specific action to use.

  • Setting a user, or a group in “Security” tab will restrict the display of the tile.

https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_form.png

You can optionally define a secondary value, for that purpose :

  • Select a field, a function to apply.

  • You can define a specific format. (.format() python syntax)

https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_form_secondary_value.png

Usage

  • Go to “Dashboard > Overview” and select a category

  • The tile configured is displayed with the up to date count and average values of the selected domain.

https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_kanban.png
  • By clicking on the item, you’ll navigate to the tree view of the according model.

https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_2_tree_view.png

Note

When you are in a tree view, with a domain, you can save it in the favorite menu, but the configuration is limited.

https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/favorite_menu_create_tile.png https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/favorite_menu_create_tile_result.png

Known issues / Roadmap

Known issues

  • Can not edit color from dashboard

  • Original context is ignored.

  • Original domain and filter are not restored.

  • To preserve a relative date domain, you have to manually edit the tile’s domain from “Configuration > User Interface > Dashboard Tile”. You can use the same variables available in filters (uid, context_today(), current_date, time, datetime, relativedelta).

Roadmap

  • Add icons.

  • Support client side action (like inbox).

  • Restore original Domain + Filter when an action is set.

  • Posibility to hide the tile based on a field expression.

  • Posibility to set the background color based on a field expression.

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

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 maintainer:

legalsylvain

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.

Metadata

Release files for odoo12-addon-web-dashboard-tile 12.0.1.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 odoo12-addon-web-dashboard-tile 12.0.1.0.2
File Interpreter ABI Platform Actions
odoo12_addon_web_dashboard_tile-12.0.1.0.2-py3-none-any.whl Python 3 none any Details for odoo12_addon_web_dashboard_tile-12.0.1.0.2-py3-none-any.whl

Release files / odoo12_addon_web_dashboard_tile-12.0.1.0.2-py3-none-any.whl

Download URL odoo12_addon_web_dashboard_tile-12.0.1.0.2-py3-none-any.whl
Size 326.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32d907dff3554ee8efaf04fac20ceab22bb594912baabdd14db3b457d0aefde0
BLAKE2b-256 checksum
How to use checksums
8b239ba0168ec0ff58609c028e66df194e14cb090f3aa05f4e539cb8adb0ecac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.5

Security for odoo12-addon-web-dashboard-tile 12.0.1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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