Inserire e collegare i dati Odoo¶
Diversi elementi del database Odoo possono essere inseriti in un foglio di calcolo Odoo, ovvero:
pivot tables, i.e., data from a pivot view
charts, i.e., data from a graph view
Each time a list, pivot table, or chart is inserted, a data source is created, directly connecting the spreadsheet to the underlying data.
Nota
Elenchi, tabelle pivot e grafici di diverse app e modelli possono essere inseriti nello stesso foglio di calcolo.
It is also possible to insert a pivot table that retrieves Odoo data directly from an Odoo spreadsheet.
Suggerimento
Se si intende utilizzare i filtri globali per filtrare dinamicamente i dati Odoo in un foglio di calcolo o dashboard, non utilizzare le stesse condizioni per stabilire l’elenco iniziale, la tabella pivot o il grafico nel database.
È anche possibile:
add clickable links to Odoo menu items, to other sheets of the same spreadsheet, or to external URLs
insert financial data from your Odoo database using Odoo-specific spreadsheet functions
Fonti di dati¶
When you insert a list or chart from an Odoo list or chart view into an Odoo spreadsheet, or insert a pivot table referencing Odoo data from an Odoo pivot view or directly from a spreadsheet, the spreadsheet is automatically connected to the underlying data thanks to a unique “data source.”
This connection ensures that the data in the spreadsheet is updated when the corresponding data in your database changes, and allows you to access the underlying data.
Nota
Data in a list, pivot table, or chart linked to an Odoo model is refreshed every time the spreadsheet is opened or the browser page is reloaded. It is also possible to manually refresh data by clicking from the menu bar.
Inserting a pivot table from a range of data also creates a data source that connects the pivot table to the underlying spreadsheet range.
Each data source is identified by a unique ID, with each source type (i.e., list, pivot table, or chart) numbered separately, and each new list, pivot table, or chart numbered sequentially, e.g., List #1, List #2, Pivot #1, etc.
The properties of a data source can be accessed via the Data menu, where they are identified by their respective (pivot table), (list) or (chart) icon, followed by their ID and name, e.g., (#1) Sales Analysis by Product.
Facendo clic su una fonte di dati si aprono le relative proprietà in un pannello a destra del foglio di calcolo.
Nota
Deleting an inserted list or pivot table, or deleting the sheet into which it was inserted, does not delete the underlying data source; this can only be deleted via the data source’s properties. Deleting an inserted chart, however, also deletes the underlying data source.
If an inserted list or pivot table is deleted, but not its data source, a warning appears beside the data source in the Data menu indicating that the data is not currently being used in the spreadsheet.
Suggerimento
Il pannello delle proprietà può anche essere aperto facendo clic con il pulsante destro del mouse su qualsiasi cella di un elenco o tabella pivot inseriti, quindi facendo clic su Visualizza proprietà elenco o Visualizza proprietà pivot, oppure facendo clic sull’icona (menu) in alto a destra di un grafico inserito, quindi facendo clic su Modifica.
Una volta aperte le proprietà di una fonte di dati specifica, queste rimangono aperte anche durante la navigazione tra le schede del foglio di calcolo. Per chiudere il pannello delle proprietà, fare clic sull’icona (chiudi) in alto a destra del pannello.
To collapse the properties panel, click the (double chevron) icon at the top of the panel.
To pin the properties panel and allow another panel, such as the global filters panel, to open beside it, click the (pin) icon at the top of the panel.
Accesso ai dati sottostanti¶
I dati sottostanti di un elenco, una tabella pivot o un grafico inseriti possono essere consultati in qualsiasi momento. Per visualizzare:
un singolo record di un elenco inserito, fare clic con il pulsante destro del mouse su qualsiasi cella della riga pertinente, quindi selezionare Visualizza record
un elenco di record a cui fa riferimento una singola cella di una tabella pivot inserita, fare clic con il pulsante destro del mouse sulla cella, quindi selezionare Visualizza record
un elenco di record rappresentato da un punto dati di un grafico inserito, fai clic sul punto dati.
Suggerimento
Usa il pulsante centrale del mouse o Ctrl + clic sinistro (Microsoft/Linux), oppure Command + clic sinistro (Mac OS) per aprire i risultati in una nuova scheda del browser.
Per tornare al foglio di calcolo dopo aver visualizzato i dati sottostanti, fai clic sul nome del foglio di calcolo nelle breadcrumb nella parte superiore della pagina.