|
| 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, :ref:`users with the appropriate access rights |
| 25 | +<dashboards/access-and-sharing>` can: |
| 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 | +- centralize frequently consulted Odoo views on a personal |
| 32 | + :doc:`../../applications/productivity/dashboards/my_dashboard` page |
| 33 | +- :ref:`share a snapshot of a dashboard <dashboards/access-and-sharing>` with internal users who do |
| 34 | + not have the appropriate access rights or with external users |
| 35 | +- :doc:`build custom dashboards |
| 36 | + <../../applications/productivity/dashboards/build_and_customize_dashboards>` using Odoo |
| 37 | + spreadsheet |
| 38 | +- :ref:`customize dashboards <dashboards/customize-dashboards>` to modify what data is shown, the |
| 39 | + layout, or the filters available |
| 40 | +- :ref:`manage access rights <dashboards/access-and-sharing>` to dashboards |
| 41 | + |
| 42 | +.. tip:: |
| 43 | + - Unlike other Odoo dashboards, :guilabel:`My Dashboard` is not based on Odoo Spreadsheet, but |
| 44 | + rather on Odoo views. |
| 45 | + - Once a spreadsheet has been converted into a dashboard, it can only be accessed via the |
| 46 | + Dashboards app. |
| 47 | + |
| 48 | +.. _dashboards/consult-dashboards: |
| 49 | + |
| 50 | +Consult dashboards |
| 51 | +================== |
| 52 | + |
| 53 | +On the main Dashboards page, the left panel lists all :ref:`dashboards the 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 | + Click the :icon:`fa-angle-double-left` :guilabel:`(double chevron)` at the top of the left panel |
| 59 | + to collapse the panel and maximize 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 are available by default. |
| 67 | + |
| 68 | +These pre-configured dashboards have been designed to provide the most relevant insights |
| 69 | +for the topic in question, with clearly titled charts and tables and relevant filters to allow |
| 70 | +users to tailor the view to their individual 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 allow 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 <dashboards/customize-dashboards>` by a user with the |
| 87 | +appropriate :ref:`access rights <dashboards/access-and-sharing/customize-configure-build>`. For |
| 88 | +example, dashboard elements or global filters can be added, edited or removed. |
| 89 | + |
| 90 | +.. important:: |
| 91 | + When customizing a standard dashboard, it is highly recommended to :ref:`duplicate the dashboard |
| 92 | + <dashboards/customize-dashboards/duplicate>` and perform any modifications on the duplicated |
| 93 | + version. Standard dashboards are re-installed at each Odoo version upgrade, meaning any |
| 94 | + customizations on the original version are lost. |
| 95 | + |
| 96 | +.. _dashboards/use-dashboards/interact: |
| 97 | + |
| 98 | +Interact with dashboards |
| 99 | +------------------------ |
| 100 | + |
| 101 | +In addition to consulting a dashboard for a high-level overview of key business data, it is also |
| 102 | +possible to interact with the dashboard for a more detailed analysis: |
| 103 | + |
| 104 | +- **Filter data using** :doc:`global filters <spreadsheet/global_filters>`: Most standard dashboards |
| 105 | + have one or more filters, shown as dropdown menus, at the top of the dashboard. These global |
| 106 | + filters allow all the data on the dashboard to be filtered at the same time, for example, to show |
| 107 | + data only for a specific period of time, or for one or more salespeople or customers. |
| 108 | + |
| 109 | +- **Open underlying database records**: To access database records referenced by a dashboard, click |
| 110 | + on the relevant value in a table or on a data point on a chart. Doing so opens either the |
| 111 | + individual record, or, in the case of charts or tables displaying consolidated data, a list of the |
| 112 | + referenced records. |
| 113 | + |
| 114 | +- **Open underlying database views**: To access the view from which the data for a specific chart |
| 115 | + or data is retrieved, click on the title of the chart or table. Doing so opens the corresponding |
| 116 | + list view, pivot view or graph view. |
| 117 | + |
| 118 | +.. tip:: |
| 119 | + To return to a dashboard after drilling down to underlying records or views, click the |
| 120 | + :guilabel:`Dashboards` breadcrumb at the upper left of the page. |
| 121 | + |
| 122 | +.. _dashboards/configuration: |
| 123 | + |
| 124 | +Configuration |
| 125 | +============= |
| 126 | + |
| 127 | +.. note:: |
| 128 | + Only a user with the appropriate :ref:`access rights <access-rights/groups>` can configure or |
| 129 | + modify settings for dashboards and dashboard sections. |
| 130 | + |
| 131 | +To manage dashboards and dashboard sections, go to :menuselection:`Configuration --> Dashboards`. |
| 132 | +The following actions are possible at the level of dashboard sections: |
| 133 | + |
| 134 | +- **Change the order of dashboard sections** by using the :icon:`oi-draggable` :guilabel:`(drag |
| 135 | + handle)` icon to move a section to a new position. |
| 136 | + |
| 137 | +- **Duplicate a dashboard section** by selecting the relevant section name, then clicking the |
| 138 | + :icon:`fa-cog` :guilabel:`(Actions)` icon then :guilabel:`Duplicate`. The dashboards within the |
| 139 | + section are not duplicated. |
| 140 | + |
| 141 | +- **Delete a custom dashboard section** by selecting the relevant section name, then clicking the |
| 142 | + :icon:`fa-cog` :guilabel:`(Actions)` icon then :guilabel:`Delete`. |
| 143 | + |
| 144 | + .. tip:: |
| 145 | + Standard, pre-installed dashboard sections cannot be deleted; custom dashboard sections, on |
| 146 | + the other hand, can be deleted. |
| 147 | + |
| 148 | +- **Create a new dashboard section** by clicking :guilabel:`New`, then completing the required |
| 149 | + information. When creating a new section, it is possible add a dashboard to the new section |
| 150 | + directly by clicking :guilabel:`Add a spreadsheet`. |
| 151 | + |
| 152 | +Clicking on an individual dashboard section lists all dashboards within that section. The following |
| 153 | +actions are possible: |
| 154 | + |
| 155 | +- **Change the order of a dashboard within its section** by using the :icon:`oi-draggable` |
| 156 | + :guilabel:`(drag handle)` icon to move the dashboard to a new position. |
| 157 | + |
| 158 | +- **Edit the name of a dashboard section or dashboard** by clicking the name and modifying it. |
| 159 | + |
| 160 | +- **Add or remove user groups** to :ref:`control access to the dashboard |
| 161 | + <dashboards/access-and-sharing>`. |
| 162 | + |
| 163 | +- **Select a company** if, in a :doc:`multi-company |
| 164 | + <../../applications/general/companies/multi_company>` database, the dashboard should only be |
| 165 | + visible to users of one company. If this field is left blank, the dashboard is visible to all |
| 166 | + users with the appropriate access rights, regardless of which company is currently selected in the |
| 167 | + database. |
| 168 | + |
| 169 | +- **Unpublish a dashboard** by disabling the :guilabel:`Is Published` toggle. |
| 170 | + |
| 171 | +- **Edit the underlying spreadsheet** by clicking :icon:`fa-pencil` :guilabel:`Edit` on the line of |
| 172 | + the relevant dashboard. |
| 173 | + |
| 174 | + .. important:: |
| 175 | + When customizing a standard dashboard, it is highly recommended to :ref:`duplicate the |
| 176 | + dashboard <dashboards/customize-dashboards/duplicate>` and perform any modifications on the |
| 177 | + underlying spreadsheet of the duplicated version. Standard dashboards are re-installed at each |
| 178 | + Odoo version upgrade, meaning any customizations on the original version are lost. |
| 179 | + |
| 180 | +- **Delete a dashboard** by clicking the :icon:`fa-trash` :guilabel:`(trash)` icon. |
| 181 | + |
| 182 | + .. tip:: |
| 183 | + A standard dashboard that is deleted is re-installed at the next Odoo version upgrade. |
| 184 | + |
| 185 | +- **Add a new dashboard to the section** by clicking :guilabel:`Add dashboard`. Two options exist: |
| 186 | + |
| 187 | + - **To convert an existing spreadsheet into a dashboard** and add it to the new section, select |
| 188 | + the relevant spreadsheet, then click :guilabel:`Confirm`. Back in the section overview, update |
| 189 | + the fields as relevant. This spreadsheet is now no longer available in Odoo Documents, and can |
| 190 | + only be accessed via the Dashboards app. |
| 191 | + |
| 192 | + - **To start creating a dashboard from scratch**, select :guilabel:`Blank spreadsheet`. This |
| 193 | + creates a blank spreadsheet that can only be :ref:`accessed and edited via the Dashboards app |
| 194 | + <dashboards/customize-dashboard/edit-spreadsheet>`. To return to the section overview, click the |
| 195 | + name of the section at the top left of the page. Update the fields as relevant. |
| 196 | + |
| 197 | + .. tip:: |
| 198 | + - When a spreadsheet is converted into a dashboard, the dashboard is by default accessible to |
| 199 | + users belonging to the default :ref:`user group <access-rights/groups>`. Edit this if needed |
| 200 | + via the configuration page of the relevant dashboard section. |
| 201 | + - It is also possible to :ref:`convert a spreadsheet into a dashboard |
| 202 | + <spreadsheet/manage-spreadsheets/convert-to-dashboard>` and add it to a specific dashboard |
| 203 | + section starting from the spreadsheet in the Documents app. |
| 204 | + |
| 205 | +.. _dashboards/access-and-sharing: |
| 206 | + |
| 207 | +Access rights and sharing |
| 208 | +========================= |
| 209 | + |
| 210 | +.. _dashboards/access-and-sharing/viewing: |
| 211 | + |
| 212 | +Consulting dashboards |
| 213 | +--------------------- |
| 214 | + |
| 215 | +The right to *view a dashboard* is based on :ref:`user groups <access-rights/groups>`, and is |
| 216 | +:ref:`managed in the Configuration settings <dashboards/configuration>` of the Dashboards app. Only |
| 217 | +users who are part of a group that has been granted access to a specific dashboard see that |
| 218 | +dashboard in the left-hand panel on the main Dashboards page. |
| 219 | + |
| 220 | +However, the right to *view dynamic Odoo data* on a dashboard is handled separately. This is based |
| 221 | +on the :ref:`individual user's access rights <access-rights/users>` to the model from which the data |
| 222 | +has been retrieved, and takes into account any record rules that restrict access. |
| 223 | + |
| 224 | +These permissions are taken into account when a user opens a dashboard, with the dashboard only |
| 225 | +being populated with data the user is authorized to see. This means that a user could in theory be |
| 226 | +able to *view a dashboard* but, due to a lack of appropriate permissions, not be able to *see the |
| 227 | +Odoo data* the dashboard's creator intended to be displayed. |
| 228 | + |
| 229 | +.. important:: |
| 230 | + User permissions should be taken into consideration when granting dashboard access to groups. For |
| 231 | + example, granting the user group `Sales / User: Own Documents Only` access to the |
| 232 | + :guilabel:`Sales` dashboard would serve little purpose. While users belonging to that group would |
| 233 | + be able to view the dashboard, they would only see data related to their own sales, which may |
| 234 | + render data presentation and visualisation misleading. |
| 235 | + |
| 236 | +.. _dashboards/access-and-sharing/manage-view-access: |
| 237 | + |
| 238 | +Manage access rights to view dashboards |
| 239 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 240 | + |
| 241 | +To manage users' rights to a view, or access, a dashboard: |
| 242 | + |
| 243 | +#. In the Dashboards app, go to :menuselection:`Configuration --> Dashboards`. |
| 244 | +#. From the list of dashboard sections, open the relevant section. |
| 245 | +#. On the line of the relevant dashboard, add a user group by clicking in the :guilabel:`Group` |
| 246 | + field and selecting the appropriate user group from the dropdown. Click :guilabel:`Search More` |
| 247 | + to access the full list of user groups. To delete a group, click on the relevant group name, then |
| 248 | + click :icon:`fa-cross` :guilabel:`(Delete)`. |
| 249 | + |
| 250 | +.. _dashboards/access-and-sharing/customize-configure-build: |
| 251 | + |
| 252 | +Customizing, configuring, and building dashboards |
| 253 | +------------------------------------------------- |
| 254 | + |
| 255 | +Only users with the administrator rights for the Dashboards app can customize dashboards or |
| 256 | +configure dashboard settings. To build a dashboard from scratch, a user must have both the |
| 257 | +administrator rights for the Dashboards app and user rights for the Documents apps. |
| 258 | + |
| 259 | +.. _dashboards/access-and-sharing/sharing: |
| 260 | + |
| 261 | +Share dashboard snapshot |
| 262 | +------------------------ |
| 263 | + |
| 264 | +To share a frozen version of a dashboard with an internal user who does not have the appropriate |
| 265 | +access or with an external party, click :icon:`fa-share-alt` :guilabel:`Share` at the top-right of |
| 266 | +the page then click :icon:`fa-clone` :guilabel:`(copy)` to copy a shareable link. |
0 commit comments