Skip to content

Commit 8a27540

Browse files
committed
[IMP] spreadsheet: basics of creating and managing spreadsheets
task-4943625 closes #14386 X-original-commit: 9f6207c Signed-off-by: Siobhan McGonigle (mcsi) <[email protected]>
1 parent 7cbd35f commit 8a27540

File tree

5 files changed

+185
-15
lines changed

5 files changed

+185
-15
lines changed

content/applications/productivity/spreadsheet.rst

Lines changed: 177 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
:show-content:
2-
:hide-page-toc:
32

43
===========
54
Spreadsheet
@@ -18,14 +17,188 @@ Spreadsheet
1817
similar functionality to other spreadsheet solutions with the added benefit of integrating directly
1918
with your Odoo database.
2019

21-
With **Odoo Spreadsheet**, you can:
20+
With Odoo Spreadsheet, you can:
2221

23-
- create spreadsheets or upload existing `.xlsx` or `.csv` files and edit them
24-
- create :doc:`templates <spreadsheet/templates>`
22+
- :ref:`create spreadsheets <spreadsheet/create-new>` or :ref:`upload files
23+
<spreadsheet/upload-files>` and open them with Odoo Spreadsheet
24+
- :doc:`create templates <spreadsheet/templates>`
2525
- :doc:`use functions, including Odoo-specific functions <spreadsheet/functions>`
2626
- :doc:`insert and link to Odoo data <spreadsheet/insert>`
2727
- :doc:`create and use dynamic pivot tables <spreadsheet/dynamic_pivot_tables>`
2828
- filter data across multiple Odoo data sources using :doc:`global filters
2929
<spreadsheet/global_filters>`
3030
- visualize data using charts and formatting
3131
- share files internally and externally
32+
33+
The Spreadsheet module is part of **Odoo Documents**.
34+
35+
.. tip::
36+
Within a spreadsheet, opening the command palette, using the :doc:`keyboard shortcut
37+
<../../applications/essentials/keyboard_shortcuts>` `Ctrl` + `K` or `Command` + `K`, allows you
38+
to browse and execute spreadsheet commands via the keyboard, without having to navigate menus.
39+
40+
.. note::
41+
Odoo spreadsheets serve as the foundation for the dashboards available in **Odoo Dashboards**. On
42+
a dashboard, charts and data tables are used to display dynamic Odoo data and provide an overview
43+
of key business metrics.
44+
45+
Standard, pre-configured dashboards can be customized by editing the dashboard's underlying
46+
spreadsheet via Dashboards. Custom dashboards can also be created from scratch, starting
47+
from an Odoo spreadsheet; any subsequent modifications are performed via Dashboards.
48+
49+
.. _spreadsheet/create-new:
50+
51+
Create a new spreadsheet
52+
========================
53+
54+
To create a new spreadsheet:
55+
56+
#. Open Odoo Documents and navigate to the section or folder in which the spreadsheet should be
57+
created.
58+
#. Click :guilabel:`New` and select :guilabel:`Spreadsheet`.
59+
60+
.. tip::
61+
Alternatively, from the :icon:`fa-folder-o` :guilabel:`All` folder, click :guilabel:`New` and
62+
select :guilabel:`Spreadsheet`, then select in which :guilabel:`Folder` the
63+
spreadsheet should be created.
64+
65+
#. Click :guilabel:`Blank spreadsheet` or, to create a new spreadsheet using an existing
66+
:doc:`template <spreadsheet/templates>`, select the relevant template.
67+
#. Click :guilabel:`Create`.
68+
#. Click on `Untitled spreadsheet` at the top of the screen to edit the name of the spreadsheet.
69+
70+
.. tip::
71+
It is also possible to create a new spreadsheet by:
72+
73+
- clicking :menuselection:`File -->` :icon:`os-clear-and-reload` :menuselection:`New` from the
74+
menu bar of an open spreadsheet; or
75+
- :doc:`inserting a list, pivot table, or chart from another Odoo app <spreadsheet/insert>` into
76+
a new spreadsheet directly from the app in question.
77+
78+
In these cases, the new spreadsheet is saved in Odoo Documents in the :icon:`fa-hdd-o`
79+
:guilabel:`My Drive` personal folder.
80+
81+
.. _spreadsheet/upload-files:
82+
83+
Upload files
84+
============
85+
86+
Files in `.xlsx` or `.csv` format can be uploaded into Odoo Documents and opened with Odoo
87+
Spreadsheet. To do so:
88+
89+
#. Open Odoo Documents and navigate to the section or folder where the spreadsheet should be saved.
90+
#. Click :guilabel:`New` and select :guilabel:`Upload`.
91+
#. Select the relevant `.xlsx` or `.csv` file and click :guilabel:`Open`.
92+
#. Click on the uploaded file.
93+
#. By default, the original file is deleted when it is opened with Odoo Spreadsheet. To preserve
94+
the original file in the same folder in Odoo Documents, disable :guilabel:`Send source file to
95+
trash`.
96+
#. Click :guilabel:`Open with Odoo Spreadsheet`.
97+
98+
The file can now be fully edited in Odoo Spreadsheet.
99+
100+
.. _spreadsheet/manage-spreadsheets:
101+
102+
Manage spreadsheets
103+
===================
104+
105+
Users with :guilabel:`Editor` rights to a specific spreadsheet have various options for managing the
106+
spreadsheet via the :guilabel:`File` menu:
107+
108+
- :icon:`os-copy-file` :guilabel:`Make a copy`: creates a duplicate of the current spreadsheet with
109+
the same :ref:`regional settings <spreadsheet/manage-spreadsheets/regional-settings>` (or locale).
110+
- :icon:`os-save` :guilabel:`Save as template`: allows the current spreadsheet to be used as a
111+
:doc:`template <spreadsheet/templates>` for future spreadsheets.
112+
- :icon:`os-download` :guilabel:`Download`: downloads the spreadsheet in `.xlsx` format.
113+
114+
.. important::
115+
When you download a spreadsheet in `.xlsx` format, any spreadsheet formulas that retrieve Odoo
116+
data from your database, e.g., via an :doc:`inserted list <spreadsheet/insert>` or via other
117+
:doc:`Odoo-specific functions <spreadsheet/functions>`, are converted to the values they would
118+
have returned at the moment the spreadsheet was downloaded.
119+
120+
.. tip::
121+
Users with :guilabel:`Viewer` rights can also download a spreadsheet in `.xlsx` format.
122+
123+
- :icon:`os-version-history` :guilabel:`See version history`: provides read-only :ref:`access to
124+
previous versions <spreadsheet/manage-spreadsheets/version-history>` of the current spreadsheet,
125+
which can be named and restored if needed.
126+
- :icon:`fa-print` :guilabel:`Print`: prints a copy of the spreadsheet on a connected printer.
127+
- :icon:`os-cog` :guilabel:`Settings`: allows you to view and change the :ref:`locale
128+
<spreadsheet/manage-spreadsheets/regional-settings>` of the current spreadsheet.
129+
- :icon:`os-add-to-dashboard` :guilabel:`Add to dashboard`: allows you to turn the current
130+
spreadsheet into a new dashboard that is accessible via Odoo Dashboards. The following fields must
131+
be completed: :guilabel:`Dashboard Name`, the :guilabel:`Dashboard Section` in which the new
132+
dashboard will be saved, and :guilabel:`Access Groups` to determine which user groups can access
133+
the dashboard.
134+
135+
.. note::
136+
When a spreadsheet is converted into a dashboard, the original spreadsheet is deleted from Odoo
137+
Spreadsheet. However, it is still possible to edit the dashboards's underlying spreadsheet via
138+
Odoo Dashboards.
139+
140+
.. _spreadsheet/manage-spreadsheets/version-history:
141+
142+
Version history
143+
---------------
144+
145+
Odoo Spreadsheet automatically saves versions of spreadsheets as changes are made, allowing users
146+
with :guilabel:`Editor` rights to browse and restore previous versions.
147+
148+
To access the version history of a spreadsheet, click :menuselection:`File -->`
149+
:icon:`os-version-history` :menuselection:`See version history` from the menu bar. Saved versions
150+
appear in a panel on the right of the spreadsheet. The name of the user who made the change is
151+
shown, as well as the date and time of the change.
152+
153+
The following actions are possible:
154+
155+
- **View an earlier version** in read-only format by clicking on the relevant version.
156+
- **Restore an earlier version** by clicking :icon:`fa-ellipsis-v` :guilabel:`(vertical ellipsis)`
157+
then :guilabel:`Restore this version`.
158+
- **Copy an earlier version** by clicking :icon:`fa-ellipsis-v` :guilabel:`(vertical ellipsis)` then
159+
:menuselection:`Make a copy`. A copy of the version opens as a new spreadsheet.
160+
- **Create named versions** by clicking on the date and time of the relevant version and entering
161+
the desired name. The date and time of the version are then displayed below the new name.
162+
163+
.. tip::
164+
When viewing an earlier, read-only version of a spreadsheet, the following actions are still
165+
possible:
166+
167+
- Search the spreadsheet by clicking :menuselection:`Edit -->` :icon:`fa-search`
168+
:menuselection:`Find and replace` or using the shortcut `Ctrl` + `H`.
169+
- Copy an individual cell or selected area by clicking :menuselection:`Edit -->`
170+
:icon:`fa-clipboard` :menuselection:`Copy` or using the shortcut `Ctrl` + `C`.
171+
172+
.. _spreadsheet/manage-spreadsheets/regional-settings:
173+
174+
Regional settings
175+
-----------------
176+
177+
To ensure data is displayed consistently for all users, the regional settings (or locale) of a
178+
spreadsheet, are managed at spreadsheet level. This locale affects the following settings and
179+
formats:
180+
181+
- thousand and decimal separators
182+
- date and time formats
183+
- first day of the week
184+
185+
By default, a new spreadsheet inherits the regional settings of the user who created it. For
186+
example, any spreadsheets created by a user whose language is set to :guilabel:`French (BE) /
187+
Français (BE)` will follow Belgian French conventions.
188+
189+
A spreadsheet's locale can be viewed and changed at any time by a user with :guilabel:`Editor`
190+
rights. To view the locale of a spreadsheet, click :menuselection:`File -->` :icon:`os-cog`
191+
:menuselection:`Settings` from the menu bar. The :guilabel:`Spreadsheet settings` panel opens on the
192+
right of the spreadsheet. To change the locale, select the appropriate locale from the dropdown.
193+
194+
.. tip::
195+
When you open a spreadsheet that has a different locale to that of your user profile, a blue
196+
:icon:`fa-globe` :guilabel:`(globe)` icon appears at the top right of the spreadsheet. Hovering
197+
over the icon reveals a warning message that indicates the spreadsheet locale and highlights
198+
formats that differ.
199+
200+
.. image:: spreadsheet/locale-difference.png
201+
:alt: Warning about difference between user and spreadsheet locale
202+
203+
If no :icon:`fa-globe` :guilabel:`(globe)` icon is shown, this means the spreadsheet's locale is
204+
the same as that of your user profile.
8.91 KB
Loading

content/applications/productivity/spreadsheet/insert.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Several elements from your Odoo database can be inserted into an Odoo spreadshee
1515
Each time a list, pivot table, or chart is inserted, a :ref:`data source
1616
<spreadsheet/insert/data-sources>` is created. This data source connects the spreadsheet to your
1717
Odoo database, retrieving up-to-date information every time the spreadsheet is opened, the browser
18-
page is reloaded, or data is manually refreshed by clicking :menuselection:`Data --> Refresh all
19-
data` from the menu bar.
18+
page is reloaded, or data is manually refreshed by clicking :menuselection:`Data -->`
19+
:icon:`os-refresh-data` :menuselection:`Refresh all data` from the menu bar.
2020

2121
:ref:`Inserted lists <spreadsheet/insert/list>` and :ref:`inserted pivot tables
2222
<spreadsheet/insert/pivot-table>` use formulas with Odoo-specific :ref:`list functions
@@ -162,7 +162,7 @@ To insert a list:
162162

163163
.. note::
164164
When inserting a list into a new spreadsheet, the spreadsheet is saved in the **Odoo
165-
Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal workspace.
165+
Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal folder.
166166

167167
#. Click :guilabel:`Confirm`.
168168

@@ -386,7 +386,7 @@ To insert a pivot table:
386386

387387
.. note::
388388
When inserting a pivot table into a new spreadsheet, the spreadsheet is saved in the **Odoo
389-
Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal workspace.
389+
Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal folder.
390390

391391
#. Click :guilabel:`Confirm`.
392392

@@ -558,7 +558,7 @@ To insert a chart from an Odoo database into an Odoo spreadsheet:
558558

559559
.. note::
560560
When inserting a chart into a new spreadsheet, the spreadsheet is saved in the **Odoo
561-
Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal workspace.
561+
Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal folder.
562562

563563
#. Click :guilabel:`Confirm`.
564564

9.42 KB
Loading

content/applications/productivity/spreadsheet/templates.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ Create a template
1515
=================
1616

1717
Any spreadsheet can be saved as a template. Open the relevant spreadsheet or :ref:`create a new one
18-
<documents/spreadsheet>`. From the menu bar, click :menuselection:`File --> Save as template`.
19-
Modify the default :guilabel:`Template Name` if needed and click :guilabel:`Confirm`.
18+
<documents/spreadsheet>`. From the menu bar, click :menuselection:`File -->` :icon:`os-save`
19+
:menuselection:`Save as template`. Modify the default :guilabel:`Template Name` if needed and
20+
click :guilabel:`Confirm`.
2021

2122
.. important::
2223
Once a spreadsheet is saved as a template, any further changes to the open spreadsheet are
@@ -62,7 +63,3 @@ Various actions are possible:
6263

6364
- Delete a template by ticking the checkbox next to it, clicking :icon:`fa-cog`
6465
:guilabel:`Actions`, then :guilabel:`Delete`.
65-
66-
.. tip::
67-
Use the download button under the :guilabel:`Spreadsheet file` column to export a template in
68-
JSON format. The file can be imported into another database.

0 commit comments

Comments
 (0)