-
Notifications
You must be signed in to change notification settings - Fork 11.9k
[IMP] spreadsheet: expanding pivot table documentation #17973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
665 changes: 66 additions & 599 deletions
665
content/applications/productivity/spreadsheet/insert.rst
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file removed
BIN
-15 KB
content/applications/productivity/spreadsheet/insert/insert-pivot-table.png
Binary file not shown.
32 changes: 32 additions & 0 deletions
32
content/applications/productivity/spreadsheet/insert/insert_chart.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| ============== | ||
| Insert a chart | ||
| ============== | ||
|
|
||
| To insert a chart from an Odoo database into an Odoo spreadsheet: | ||
|
|
||
| #. With the relevant graph view open in your database, click :guilabel:`Insert in Spreadsheet`. | ||
| #. In the window that opens, edit the :guilabel:`Name of the graph` if needed. | ||
|
|
||
| #. Click :guilabel:`Blank spreadsheet` to create a new spreadsheet, or select in which existing | ||
| spreadsheet the chart should be inserted. | ||
|
|
||
| .. note:: | ||
| When inserting a chart into a new spreadsheet, the spreadsheet is saved in the **Odoo | ||
| Documents** app in the :icon:`fa-hdd-o` :guilabel:`My Drive` personal folder. | ||
|
|
||
| #. Click :guilabel:`Confirm`. | ||
|
|
||
| Charts are inserted on the first sheet of the spreadsheet. A panel on the right side of the screen | ||
| shows the :ref:`chart properties <spreadsheet/visualize/customize-charts>`, where various aspects of | ||
| the chart's configuration and design can be modified. | ||
|
|
||
| .. seealso:: | ||
| :ref:`Manage charts <spreadsheet/visualize/manage-charts>` | ||
|
|
||
| .. tip:: | ||
| Clicking on a data point in a chart opens the relevant list view in the database. In the example, | ||
| clicking on :guilabel:`Jessica Childs` opens the list view of all sales by this salesperson that | ||
| match the domain of the chart. | ||
|
|
||
| .. image:: insert_chart/clickable-link-chart.png | ||
| :alt: A clickable link to an Odoo menu plus clickable data point |
File renamed without changes
65 changes: 65 additions & 0 deletions
65
content/applications/productivity/spreadsheet/insert/insert_clickable_links.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| ====================== | ||
| Insert clickable links | ||
| ====================== | ||
|
|
||
| Adding links to related or supporting information can make your report or dashboard more | ||
| user-friendly and effective. | ||
|
|
||
| You can :ref:`insert a clickable link from any spreadsheet cell | ||
| <spreadsheet/insert/clickable-links-cell>` to: | ||
|
|
||
| - an Odoo menu item | ||
| - another sheet inside the same spreadsheet | ||
| - an external URL | ||
|
|
||
| You can :ref:`insert a clickable link from any chart <spreadsheet/insert/clickable-links-chart>` to | ||
| an Odoo menu item. | ||
|
|
||
| .. note:: | ||
| - Clicking a link to a menu item provides the same result as navigating via the Odoo menu within | ||
| an app, e.g., the menu item :guilabel:`Sales/Orders/Quotations` corresponds to the default view | ||
| when navigating to :menuselection:`Sales --> Orders --> Quotations`. | ||
| - It is also possible to insert a clickable link to a specific view of a model in a spreadsheet | ||
| starting from the view itself. However, as this method inserts each new link in a new sheet, it | ||
| is more efficient to create links to specific views starting from the spreadsheet. | ||
|
|
||
| .. tip:: | ||
| Use the middle mouse button or `Ctrl` + left-click (Microsoft/Linux), or `Command` + left-click | ||
| (Mac OS) to open clickable links in a new browser tab. | ||
|
|
||
| .. _spreadsheet/insert/clickable-links-cell: | ||
|
|
||
| Insert a clickable link from a cell | ||
| ----------------------------------- | ||
|
|
||
| To insert a clickable link from a cell: | ||
|
|
||
| #. Click :menuselection:`Insert -->` :icon:`fa-link` :menuselection:`Link` from the menu bar or | ||
| right-click on the cell, then click :icon:`fa-link` :guilabel:`Insert link`. Next, depending on | ||
| the desired outcome, perform one of the following actions: | ||
|
|
||
| - Click the :icon:`fa-bars` :guilabel:`(menu)` icon, then :guilabel:`Link an Odoo menu`. Select | ||
| the relevant menu item from the list or click :guilabel:`Search more` to choose from a list of | ||
| all menu items. Click :guilabel:`Confirm`. | ||
| - Click the :icon:`fa-bars` :guilabel:`(menu)` icon, then :guilabel:`Link sheet`, then choose the | ||
| relevant sheet from the current spreadsheet. | ||
| - Under :guilabel:`Link`, type a URL. | ||
|
|
||
| #. Enter or edit the label for the link in the :guilabel:`Text` field. | ||
| #. Click :guilabel:`Confirm`. | ||
|
|
||
| .. _spreadsheet/insert/clickable-links-chart: | ||
|
|
||
| Insert a clickable link from a chart | ||
| ------------------------------------ | ||
|
|
||
| To insert a clickable link from a chart to an Odoo menu item: | ||
|
|
||
| #. Hover over the top right of the chart's box, then click the :icon:`fa-bars` :guilabel:`(menu)` | ||
| icon, then :icon:`fa-pencil-square-o` :guilabel:`Edit`. The chart properties appear at the right | ||
| of the screen. | ||
| #. At the bottom of the :icon:`fa-sliders` :guilabel:`Configuration` tab of the chart properties | ||
| panel, click under :guilabel:`Link to Odoo menu`, then select a menu. | ||
|
|
||
| Hover over the top right of the chart's box to see that a new :icon:`fa-external-link` | ||
| :guilabel:`(external link)` icon has been added. |
10 changes: 10 additions & 0 deletions
10
content/applications/productivity/spreadsheet/insert/insert_financial_data.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| ===================== | ||
| Insert financial data | ||
| ===================== | ||
|
|
||
| When building reports and dashboards, it may be useful to include certain accounting-related data, | ||
| such as account IDs, credits and debits for specific accounts, and dates of the start and end of the | ||
| tax year. | ||
|
|
||
| :ref:`Odoo-specific spreadsheet functions <spreadsheet/functions/odoo>` allow you to retrieve such | ||
| accounting data from your database and insert it into a spreadsheet. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth it to have a separate page just for this? Or could this be moved elsewhere (or removed)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've flip-flopped on this a lot! I don't want to just squeeze it in somewhere else, especially as I do think it's valuable for users who might be using Spreadsheet / Dashboard for financial reports and dashboards. Audrey was ok with me keeping it, especially with the idea that breaking up content into smaller chunks is in itself not a bad thing. So, unless you feel very strongly, I'd like to keep it (for now, at least).