Skip to content

Commit 4998e9f

Browse files
committed
[ADD] dashboards: consult, build, customize, configure dashboards
task-4969391
1 parent fccb321 commit 4998e9f

File tree

10 files changed

+603
-17
lines changed

10 files changed

+603
-17
lines changed

content/applications/general/users/access_rights.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ should not have access to.
2828
Once complete, click :guilabel:`Save` to save the changes, and implement the user as an
2929
administrator.
3030

31+
.. _access-rights/users:
32+
3133
Users
3234
=====
3335

content/applications/productivity.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Productivity
1010
productivity/documents
1111
productivity/sign
1212
productivity/spreadsheet
13+
productivity/dashboards
1314
productivity/knowledge
1415
productivity/calendar
1516
productivity/appointments
Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
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+
- :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 Odoo 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)` at the top of the left
59+
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 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. Data is presented in clearly titled tables and charts, while
70+
dashboard-specific filters allow 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 <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 perform any modifications on
94+
the duplicated version. Standard dashboards are re-installed at each Odoo version upgrade,
95+
meaning any 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 data 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, then clicking the
139+
:icon:`fa-cog` :guilabel:`(Actions)` icon then :guilabel:`Duplicate`. The dashboards within the
140+
section are not duplicated.
141+
142+
- **Delete a dashboard section** by selecting the relevant section name, then clicking the
143+
:icon:`fa-cog` :guilabel:`(Actions)` icon then :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 completing the required
150+
information. When creating a new section, it is possible 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** by clicking :icon:`fa-pencil` :guilabel:`Edit` on the line of
173+
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 perform any
178+
modifications on the underlying spreadsheet of the duplicated version. Standard dashboards are
179+
re-installed at each Odoo version upgrade, meaning any customizations on the original version
180+
are lost.
181+
182+
- **Delete a dashboard** by clicking the :icon:`fa-trash` :guilabel:`(trash)` icon.
183+
184+
.. tip::
185+
A standard dashboard that is deleted is re-installed at the next Odoo version upgrade.
186+
187+
- **Add a new dashboard to the section** by clicking :guilabel:`Add dashboard`. Two options 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
199+
:ref:`accessed and 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 a dashboard* is based on :ref:`user groups <access-rights/groups>`, and is
220+
managed in the :ref:`Configuration settings <dashboards/configuration>` of the Dashboards app. Only
221+
users who are part of a group that has been granted access to a specific dashboard see that
222+
dashboard in the left-hand panel on the main Dashboards page. Users with `Dashboard / Admin` access
223+
rights can view all dashboards.
224+
225+
However, the right to *view dynamic Odoo data* on a dashboard is handled separately. This is based
226+
on the :ref:`individual user's access rights <access-rights/users>` to the model from which the data
227+
has been retrieved, and takes into account any record rules that restrict access.
228+
229+
These permissions are taken into account when a user opens a dashboard, with the dashboard only
230+
being populated with data the user is authorized to see. This means that a user could in theory be
231+
able to view a dashboard but, due to a lack of appropriate permissions, not be able to see the
232+
Odoo data the dashboard's creator intended to be displayed. Therefore, it is crucial to take user
233+
permissions into consideration when granting dashboard access to groups.
234+
235+
.. example::
236+
Granting the user group `Sales / User: Own Documents Only` access to the :guilabel:`Sales`
237+
dashboard would serve little purpose. While users belonging to that group would be able to view
238+
the dashboard, they would only see data related to their own sales, rendering the data
239+
misleading.
240+
241+
.. _dashboards/access-and-sharing/manage-view-access:
242+
243+
Manage access rights to view dashboards
244+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245+
246+
To manage users' rights to a view, or access, a dashboard:
247+
248+
#. In the Dashboards app, go to :menuselection:`Configuration --> Dashboards`.
249+
#. From the list of dashboard sections, open the relevant section.
250+
#. On the line of the relevant dashboard:
251+
252+
- add a user group by clicking the :guilabel:`Group` field and selecting the appropriate user
253+
group from the dropdown. Click :guilabel:`Search More` to access the full list of user groups;
254+
- delete a user group by clicking the relevant group name, then clicking :icon:`fa-times`
255+
:guilabel:`(Delete)`.
256+
257+
.. _dashboards/access-and-sharing/customize-configure-build:
258+
259+
Building, customizing and configuring dashboards
260+
------------------------------------------------
261+
262+
Only users with `Dashboards / Admin` access rights can customize dashboards or configure dashboard
263+
settings. To build a dashboard from scratch, a user must have both `Dashboards / Admin` and
264+
`Documents / User` access rights.
265+
266+
.. _dashboards/access-and-sharing/sharing:
267+
268+
Share dashboard snapshot
269+
------------------------
270+
271+
To share a frozen version of a dashboard with an internal user who does not have the appropriate
272+
access or with an external party, click :icon:`fa-share-alt` :guilabel:`Share` at the top-right of
273+
the page then click :icon:`fa-clone` :guilabel:`(copy)` to copy a shareable link.

0 commit comments

Comments
 (0)