mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_dashboard_tile from 12.0 to 16.0
- remove 12.0 migration scripts - bump version to 16.0 - use new api convention @api.model_create_multi ; new compute function logic ; - add dependency to spreasheet_dashboard to use 'Dashboard' main menu item - use new way to include assets - remove totally useless controllers - distinct different errors, depending on domain or format errors - fix : _compute_data depends on many fields - update : documentation and printscreens
This commit is contained in:
@@ -1,23 +1,21 @@
|
||||
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:: ../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.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
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.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* 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`).
|
||||
* 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``, ``relativedelta``).
|
||||
|
||||
**Roadmap**
|
||||
|
||||
|
||||
@@ -7,11 +7,3 @@
|
||||
* By clicking on the item, you'll navigate to the tree view of the according model.
|
||||
|
||||
.. image:: ../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:: ../static/description/favorite_menu_create_tile.png
|
||||
|
||||
.. image:: ../static/description/favorite_menu_create_tile_result.png
|
||||
|
||||
Reference in New Issue
Block a user