|
| 1 | +:show-content: |
| 2 | + |
| 3 | +========== |
| 4 | +Dashboards |
| 5 | +========== |
| 6 | + |
| 7 | +.. toctree:: |
| 8 | + :titlesonly: |
| 9 | + |
| 10 | + dashboards/build_and_customize_dashboards |
| 11 | + dashboards/my_dashboard |
| 12 | + |
| 13 | +**Odoo Dashboards** allows you to consult, customize, and build interactive dashboards that display |
| 14 | +real-time data from your Odoo database in an easy-to-understand way. By centralizing data from |
| 15 | +various Odoo sources in a single location, dashboards provide an overview of key business metrics |
| 16 | +that can help you monitor business performance and make informed decisions. |
| 17 | + |
| 18 | +:doc:`Odoo spreadsheets <../../applications/productivity/spreadsheet>` serve as the foundation for |
| 19 | +dashboards, with tables and charts used to structure and visualize dynamic Odoo data. :ref:`Data |
| 20 | +sources <spreadsheet/insert/data-sources>` connect a dashboard's underlying spreadsheet to your |
| 21 | +database, ensuring the most recent data is retrieved every time the dashboard is opened or |
| 22 | +refreshed. |
| 23 | + |
| 24 | +With Odoo Dashboards, users can, depending on their :ref:`access rights |
| 25 | +<dashboards/access-and-sharing>`: |
| 26 | + |
| 27 | +- :ref:`consult dashboards <dashboards/consult-dashboards>`, including :ref:`standard, |
| 28 | + pre-configured dashboards <dashboards/consult-dashboards/standard>` |
| 29 | +- :ref:`interact with dashboards <dashboards/use-dashboards/interact>` using filters and by |
| 30 | + accessing underlying data |
| 31 | +- :ref:`share a snapshot of a dashboard <dashboards/access-and-sharing>` with internal users who do |
| 32 | + not have the appropriate access rights or with external users |
| 33 | +- :doc:`build custom dashboards |
| 34 | + <../../applications/productivity/dashboards/build_and_customize_dashboards>` using Odoo |
| 35 | + Spreadsheet |
| 36 | +- :ref:`customize dashboards <build_and_customize_dashboards/customize>` to modify what data is |
| 37 | + shown, the layout, or the filters available |
| 38 | +- :ref:`manage access rights <dashboards/access-and-sharing>` to dashboards |
| 39 | +- centralize frequently consulted Odoo views on a personal |
| 40 | + :doc:`../../applications/productivity/dashboards/my_dashboard` page |
| 41 | + |
| 42 | +.. tip:: |
| 43 | + - Once a spreadsheet has been converted into a dashboard, it can only be accessed via the |
| 44 | + Dashboards app. |
| 45 | + - Unlike other Odoo dashboards, :guilabel:`My Dashboard` is not based on Odoo Spreadsheet, but |
| 46 | + rather on :doc:`Odoo views <../studio/views>`. |
| 47 | + |
| 48 | +.. _dashboards/consult-dashboards: |
| 49 | + |
| 50 | +Consult dashboards |
| 51 | +================== |
| 52 | + |
| 53 | +On the main Dashboards page, the left panel lists all :ref:`dashboards a user has access to |
| 54 | +<dashboards/access-and-sharing>`, grouped by section. Clicking on a dashboard name opens that |
| 55 | +dashboard in the main part of the page. |
| 56 | + |
| 57 | +.. tip:: |
| 58 | + Clicking the :icon:`fa-angle-double-left` :guilabel:`(double chevron)` icon at the top of the |
| 59 | + left panel collapses the panel, maximizing the space available for dashboards. |
| 60 | + |
| 61 | +.. _dashboards/consult-dashboards/standard: |
| 62 | + |
| 63 | +Standard dashboards |
| 64 | +------------------- |
| 65 | + |
| 66 | +Depending on which apps are installed, a series of standard dashboards is available by default. |
| 67 | + |
| 68 | +These pre-configured dashboards have been designed to provide the most relevant insights |
| 69 | +for the topic in question. Data on specific aspects of the topic is presented in tables and charts, |
| 70 | +while dashboard-specific filters allow users to tailor the view to their needs. |
| 71 | + |
| 72 | +.. example:: |
| 73 | + Within the :guilabel:`Sales` section in the Dashboards app, the :guilabel:`Sales` dashboard gives |
| 74 | + an overview of the number of quotations and orders, the revenue, and the average order value, as |
| 75 | + well as a chart showing monthly sales. It also includes tables listing top quotations and sales |
| 76 | + orders, top-performing products and salespeople, and top countries served. |
| 77 | + |
| 78 | + A series of pre-configured global filters at the top of the dashboard allows the entire dashboard |
| 79 | + to be filtered by, e.g., product or sales team. A default value of `Last 90 days` in the period |
| 80 | + filter means data from the previous 90 days is automatically retrieved every time the dashboard |
| 81 | + is opened or refreshed. |
| 82 | + |
| 83 | + .. image:: dashboards/sales-dashboard.png |
| 84 | + :alt: Overview of Sales dashboard |
| 85 | + |
| 86 | +Standard dashboards can be :ref:`customized <build_and_customize_dashboards/customize>` by a user |
| 87 | +with the appropriate :ref:`access rights <dashboards/access-and-sharing/customize-configure-build>`. |
| 88 | +For example, dashboard elements like tables and charts, or global filters can be added, edited, or |
| 89 | +removed. |
| 90 | + |
| 91 | +.. important:: |
| 92 | + When customizing a standard dashboard, it is highly recommended to :ref:`duplicate the dashboard |
| 93 | + <build_and_customize_dashboards/customize/duplicate-dashboard>` and make any changes on the |
| 94 | + duplicated version. Standard dashboards are reinstalled at each Odoo version upgrade, meaning any |
| 95 | + customizations on the original version are lost. |
| 96 | + |
| 97 | +.. _dashboards/use-dashboards/interact: |
| 98 | + |
| 99 | +Interact with dashboards |
| 100 | +------------------------ |
| 101 | + |
| 102 | +In addition to consulting a dashboard for a high-level overview of key business data, it is also |
| 103 | +possible to interact with the dashboard for a more detailed analysis: |
| 104 | + |
| 105 | +- **Filter data**: Most standard dashboards have one or more :doc:`global filters |
| 106 | + <spreadsheet/global_filters>`, shown as dropdown menus, at the top of the dashboard. These filters |
| 107 | + allow all the data on the dashboard to be filtered at the same time, for example, to show data |
| 108 | + only for a specific period of time, or for one or more salespeople or customers. |
| 109 | + |
| 110 | +- **Open underlying database records**: To access database records referenced by a dashboard, click |
| 111 | + on the relevant value in a table or on a data point on a chart. Doing so opens either the |
| 112 | + individual record, or, in the case of charts or tables displaying consolidated data, a list of the |
| 113 | + referenced records. |
| 114 | + |
| 115 | +- **Open underlying database views**: To access the view from which the data for a specific chart |
| 116 | + or table is retrieved, click on the title of the chart or table. Doing so opens the corresponding |
| 117 | + list view, pivot view or graph view. |
| 118 | + |
| 119 | +.. tip:: |
| 120 | + To return to a dashboard after drilling down to underlying records or views, click the |
| 121 | + :guilabel:`Dashboards` breadcrumb at the upper left of the page. |
| 122 | + |
| 123 | +.. _dashboards/configuration: |
| 124 | + |
| 125 | +Configuration |
| 126 | +============= |
| 127 | + |
| 128 | +.. note:: |
| 129 | + Only a user with the appropriate :ref:`access rights <access-rights/groups>` can configure or |
| 130 | + modify settings for dashboards and dashboard sections. |
| 131 | + |
| 132 | +To manage dashboards and dashboard sections, go to :menuselection:`Configuration --> Dashboards`. |
| 133 | +The following actions are possible at the level of dashboard sections: |
| 134 | + |
| 135 | +- **Change the order of dashboard sections** by using the :icon:`oi-draggable` :guilabel:`(drag |
| 136 | + handle)` icon to move a section to a new position. |
| 137 | + |
| 138 | +- **Duplicate a dashboard section** by selecting the relevant section name, clicking the |
| 139 | + :icon:`fa-cog` :guilabel:`Actions` button, and then :icon:`fa-clone` :guilabel:`Duplicate`. The |
| 140 | + dashboards within the section are not duplicated. |
| 141 | + |
| 142 | +- **Delete a dashboard section** by selecting the relevant section name, clicking the :icon:`fa-cog` |
| 143 | + :guilabel:`Actions` button then :icon:`fa-trash-o` :guilabel:`Delete`. |
| 144 | + |
| 145 | + .. tip:: |
| 146 | + Standard, pre-installed dashboard sections cannot be deleted; custom dashboard sections, on |
| 147 | + the other hand, can be deleted. |
| 148 | + |
| 149 | +- **Create a new dashboard section** by clicking :guilabel:`New`, then entering the section name. |
| 150 | + When creating a new section, it is possible to add a dashboard to the new section |
| 151 | + directly by clicking :guilabel:`Add a spreadsheet`. |
| 152 | + |
| 153 | +Clicking on an individual dashboard section lists all dashboards within that section. The following |
| 154 | +actions are possible: |
| 155 | + |
| 156 | +- **Change the order of a dashboard within its section** by using the :icon:`oi-draggable` |
| 157 | + :guilabel:`(drag handle)` icon to move the dashboard to a new position. |
| 158 | + |
| 159 | +- **Edit the name of a dashboard section or dashboard** by clicking the name and modifying it. |
| 160 | + |
| 161 | +- **Add or remove user groups** to :ref:`control access to the dashboard |
| 162 | + <dashboards/access-and-sharing>`. |
| 163 | + |
| 164 | +- **Select a company** if, in a :doc:`multi-company |
| 165 | + <../../applications/general/companies/multi_company>` database, the dashboard should only be |
| 166 | + visible to users of one company. If this field is left blank, the dashboard is visible to all |
| 167 | + users with the appropriate access rights, regardless of which company is currently selected in the |
| 168 | + database. |
| 169 | + |
| 170 | +- **Unpublish a dashboard** by disabling the :guilabel:`Is Published` toggle. |
| 171 | + |
| 172 | +- **Edit the underlying spreadsheet** of a dashboard by clicking :icon:`fa-pencil` :guilabel:`Edit` |
| 173 | + on the line of the relevant dashboard. |
| 174 | + |
| 175 | + .. important:: |
| 176 | + When customizing a standard dashboard, it is highly recommended to :ref:`duplicate the |
| 177 | + dashboard <build_and_customize_dashboards/customize/duplicate-dashboard>` and make any changes |
| 178 | + on the underlying spreadsheet of the duplicated version. Standard dashboards are reinstalled at |
| 179 | + each Odoo version upgrade, meaning any customizations on the original version are lost. |
| 180 | + |
| 181 | +- **Delete a dashboard** by clicking the :icon:`fa-trash` :guilabel:`(trash)` icon. |
| 182 | + |
| 183 | + .. tip:: |
| 184 | + A standard dashboard that is deleted is reinstalled at the next Odoo version upgrade. |
| 185 | + |
| 186 | +- **Add a new dashboard to the section** by clicking :guilabel:`Add a spreadsheet`. Two options |
| 187 | + exist: |
| 188 | + |
| 189 | + - To convert an existing spreadsheet into a dashboard and add it to the new section, select the |
| 190 | + relevant spreadsheet, then click :guilabel:`Confirm`. Back in the section overview, update the |
| 191 | + :guilabel:`Group` and :guilabel:`Company` fields if needed. |
| 192 | + |
| 193 | + - To start creating a dashboard from scratch, select :guilabel:`Blank spreadsheet`. To return to |
| 194 | + the section overview, click the name of the section at the top left of the page. Update the |
| 195 | + :guilabel:`Group` and :guilabel:`Company` fields if needed. |
| 196 | + |
| 197 | + .. note:: |
| 198 | + After a spreadsheet has been converted into a dashboard, it can only be :ref:`accessed and |
| 199 | + edited via the Dashboards app <build_and_customize_dashboards/customize>`. |
| 200 | + |
| 201 | + .. tip:: |
| 202 | + - A newly created dashboard is by default accessible to users belonging to the default internal |
| 203 | + :ref:`user group <access-rights/groups>`. Edit this if needed via the configuration page of |
| 204 | + the relevant dashboard section. |
| 205 | + - It is also possible to :ref:`convert a spreadsheet into a dashboard |
| 206 | + <spreadsheet/manage-spreadsheets/convert-to-dashboard>` and add it to a dashboard section |
| 207 | + starting from the spreadsheet in the Documents app. |
| 208 | + |
| 209 | +.. _dashboards/access-and-sharing: |
| 210 | + |
| 211 | +Access rights and sharing |
| 212 | +========================= |
| 213 | + |
| 214 | +.. _dashboards/access-and-sharing/viewing: |
| 215 | + |
| 216 | +Consulting dashboards |
| 217 | +--------------------- |
| 218 | + |
| 219 | +The *right to view and interact with a dashboard* is based on :ref:`user groups |
| 220 | +<access-rights/groups>`, and is managed in the :ref:`Configuration settings |
| 221 | +<dashboards/access-and-sharing/manage-view-access>` of the Dashboards app. Only users who are part |
| 222 | +of a group that has been granted access to a specific dashboard see that dashboard in the left-hand |
| 223 | +panel on the main Dashboards page. Users with `Dashboard / Admin` access rights can view all |
| 224 | +dashboards. |
| 225 | + |
| 226 | +However, the *visibility of dynamic Odoo data within a dashboard* is handled separately. This is |
| 227 | +based on a user's :ref:`access rights <access-rights/users>` to the model from which the data has |
| 228 | +been retrieved, and takes into account any record rules that may restrict access. |
| 229 | + |
| 230 | +.. important:: |
| 231 | + User permissions are taken into account when a user opens a dashboard, with the dashboard only |
| 232 | + being populated with data the user is authorized to see. This means that a user could in theory |
| 233 | + be able to view a dashboard but, due to a lack of appropriate permissions, not be able to see the |
| 234 | + Odoo data the dashboard's creator intended to be displayed. |
| 235 | + |
| 236 | + Therefore, it is crucial to take user permissions into consideration when granting dashboard |
| 237 | + access to groups. |
| 238 | + |
| 239 | +.. example:: |
| 240 | + Granting the user group `Sales / User: Own Documents Only` access to the :guilabel:`Sales` |
| 241 | + dashboard would serve little purpose. While users belonging to that group would be able to view |
| 242 | + and interact with the dashboard, they would only see data related to their own sales, rendering |
| 243 | + the overall dashboard misleading. |
| 244 | + |
| 245 | +.. _dashboards/access-and-sharing/manage-view-access: |
| 246 | + |
| 247 | +Manage access rights to view dashboards |
| 248 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 249 | + |
| 250 | +To manage users' rights to view and interact with a dashboard: |
| 251 | + |
| 252 | +#. In the Dashboards app, go to :menuselection:`Configuration --> Dashboards`. |
| 253 | +#. From the list of dashboard sections, open the relevant section. |
| 254 | +#. On the line of the relevant dashboard, in the :guilabel:`Group` column: |
| 255 | + |
| 256 | + - add a user group by clicking the field until a dropdown with user groups appears, then |
| 257 | + selecting the appropriate user group. In the dropdown, click :guilabel:`Search More` to access |
| 258 | + the full list of user groups; |
| 259 | + - remove a user group by clicking the relevant group name, then clicking :icon:`fa-times` |
| 260 | + :guilabel:`(Delete)`. |
| 261 | + |
| 262 | +.. _dashboards/access-and-sharing/customize-configure-build: |
| 263 | + |
| 264 | +Building, customizing and configuring dashboards |
| 265 | +------------------------------------------------ |
| 266 | + |
| 267 | +Only users with `Dashboards / Admin` access rights can :ref:`customize dashboards |
| 268 | +<build_and_customize_dashboards/customize>` or :ref:`configure dashboard settings |
| 269 | +<dashboards/configuration>`. To :ref:`build a dashboard from scratch |
| 270 | +<build_and_customize_dashboards/build>`, a user must have both `Dashboards / Admin` and `Documents |
| 271 | +/ User` access rights. |
| 272 | + |
| 273 | +.. _dashboards/access-and-sharing/sharing: |
| 274 | + |
| 275 | +Share dashboard snapshot |
| 276 | +------------------------ |
| 277 | + |
| 278 | +To share a frozen version of a dashboard with an internal user who does not have the appropriate |
| 279 | +access or with an external party, click :icon:`fa-share-alt` :guilabel:`Share` at the top-right of |
| 280 | +the page then click the :icon:`fa-clone` :guilabel:`(copy)` icon to copy a shareable link to your |
| 281 | +clipboard. |
0 commit comments