From ccc859547a15b5f060c12c0a28e11d8736fbd762 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jan 2024 16:52:49 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 1 + setup/_metapackage/VERSION.txt | 2 +- setup/_metapackage/setup.py | 1 + web_dashboard_tile/README.rst | 57 ++++++------- .../static/description/index.html | 80 +++++++++---------- 5 files changed, 65 insertions(+), 76 deletions(-) diff --git a/README.md b/README.md index e658cf542..e3eb0751d 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ addon | version | maintainers | summary [web_chatter_position](web_chatter_position/) | 16.0.1.0.2 | | Add an option to change the chatter position [web_company_color](web_company_color/) | 16.0.1.2.0 | | Web Company Color [web_dark_mode](web_dark_mode/) | 16.0.1.0.2 | | Enabled Dark Mode for the Odoo Backend +[web_dashboard_tile](web_dashboard_tile/) | 16.0.1.0.2 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Add Overview Dashboards with Tiles [web_dialog_size](web_dialog_size/) | 16.0.1.0.0 | | A module that lets the user expand a dialog box to the full screen width. [web_domain_field](web_domain_field/) | 16.0.1.0.1 | | Use computed field as domain [web_environment_ribbon](web_environment_ribbon/) | 16.0.1.0.0 | | Web Environment Ribbon diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt index 90dbbcdf8..5e7be1c70 100644 --- a/setup/_metapackage/VERSION.txt +++ b/setup/_metapackage/VERSION.txt @@ -1 +1 @@ -16.0.20240119.0 \ No newline at end of file +16.0.20240129.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py index 72ac4c653..f98ed764f 100644 --- a/setup/_metapackage/setup.py +++ b/setup/_metapackage/setup.py @@ -15,6 +15,7 @@ setuptools.setup( 'odoo-addon-web_chatter_position>=16.0dev,<16.1dev', 'odoo-addon-web_company_color>=16.0dev,<16.1dev', 'odoo-addon-web_dark_mode>=16.0dev,<16.1dev', + 'odoo-addon-web_dashboard_tile>=16.0dev,<16.1dev', 'odoo-addon-web_dialog_size>=16.0dev,<16.1dev', 'odoo-addon-web_domain_field>=16.0dev,<16.1dev', 'odoo-addon-web_environment_ribbon>=16.0dev,<16.1dev', diff --git a/web_dashboard_tile/README.rst b/web_dashboard_tile/README.rst index 336489eb4..6c3b53b11 100644 --- a/web_dashboard_tile/README.rst +++ b/web_dashboard_tile/README.rst @@ -2,10 +2,13 @@ Overview Dashboard (Tiles) ========================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:016842e127bc74b3f446e2ae087f66e14b91670c6e567c09e69b3fc1175667da + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,18 +17,18 @@ Overview Dashboard (Tiles) :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github - :target: https://github.com/OCA/web/tree/12.0/web_dashboard_tile + :target: https://github.com/OCA/web/tree/16.0/web_dashboard_tile :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_dashboard_tile + :target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dashboard_tile :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/12.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| -Adds a dashboard where you can configure tiles from any view and add them as short cut. +This module extends the web module to add new dashboard overview system. By default, the tile displays items count of a given model restricted to a given domain. @@ -52,28 +55,26 @@ Configuration First, you have to create tile categories. -* Go to "Dashboards > Settings > Dashboard Categories" +* Go to "Dashboards > Configuration > Overview Settings > Dashboard Categories" -* Click on Create +* Create categories -* Set a name, and save. - -Odoo menu and action are automatically created. +Odoo menu and action are automatically created in the "Dashboard > Overview" menu You should refresh your browser to see new menu items. -.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_category_form.png +.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_dashboard_tile/static/description/tile_category_form.png Then you can create tiles. -* go to "Dashboards > Settings > Dashboard Tiles" +* Go to "Dashboards > Configuration > Overview Settings > Dashboard Items" * create a new tile, set a name, a category and a model. -* You can optionally define colors, domain a specific action to use. +* You can optionally define colors, domain and a specific action to use. * Setting a user, or a group in "Security" tab will restrict the display of the tile. -.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_form.png +.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_dashboard_tile/static/description/tile_tile_form.png You can optionally define a secondary value, for that purpose : @@ -81,8 +82,7 @@ You can optionally define a secondary value, for that purpose : * You can define a specific format. (``.format()`` python syntax) -.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_form_secondary_value.png - +.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_dashboard_tile/static/description/tile_tile_form_secondary_value.png Usage ===== @@ -91,19 +91,11 @@ Usage * The tile configured is displayed with the up to date count and average values of the selected domain. -.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/tile_tile_kanban.png +.. image:: https://raw.githubusercontent.com/OCA/web/16.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. -.. image:: 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. - -.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/favorite_menu_create_tile.png - -.. image:: https://raw.githubusercontent.com/OCA/web/12.0/web_dashboard_tile/static/description/favorite_menu_create_tile_result.png +.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_dashboard_tile/static/description/tile_tile_2_tree_view.png Known issues / Roadmap ====================== @@ -123,14 +115,13 @@ Known issues / Roadmap * 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 `_. +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. @@ -172,6 +163,6 @@ Current `maintainer `__: |maintainer-legalsylvain| -This module is part of the `OCA/web `_ project on GitHub. +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. diff --git a/web_dashboard_tile/static/description/index.html b/web_dashboard_tile/static/description/index.html index 8132301e0..d1394792c 100644 --- a/web_dashboard_tile/static/description/index.html +++ b/web_dashboard_tile/static/description/index.html @@ -1,20 +1,19 @@ - - + Overview Dashboard (Tiles)