Surse de date

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.

Notă

  • 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 Data ‣ Refresh all data 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.

Mesaj de avertizare despre listă neutilizată

Făcând clic pe o sursă de date se deschid proprietățile asociate într-un panou în dreapta foii de calcul.

Notă

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.

Sfat

  • Panoul de proprietăți poate fi, de asemenea, deschis prin clic dreapta pe orice celulă a unei liste sau tabele pivot inserate, apoi clic pe See list properties sau See pivot properties, sau prin clic pe pictograma (menu) din colțul din dreapta sus al unei diagrame inserate, apoi clic pe Edit.

  • Odată ce proprietățile unei surse de date specifice sunt deschise, acestea rămân deschise chiar și la navigarea între filele foii de calcul. Pentru a închide panoul de proprietăți, faceți clic pe pictograma (close) din colțul din dreapta sus al panoului.

  • 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.

Accesarea datelor subiacente

Datele subiacente ale unei liste, tabele pivot sau diagrame inserate pot fi accesate oricând. Pentru a vizualiza:

  • o înregistrare individuală a unei liste inserate, faceți clic dreapta pe orice celulă a rândului relevant, apoi selectați See record

  • o listă de înregistrări referite de o celulă individuală a unui tabel pivot inserat, faceți clic dreapta pe celulă, apoi selectați See records

  • o listă de înregistrări reprezentate de un punct de date al unei diagrame inserate, faceți clic pe punctul de date.

Sfat

Folosiți butonul din mijlocul mouse-ului sau Ctrl + clic stânga (Microsoft/Linux), sau Command + clic stânga (Mac OS) pentru a deschide rezultatele într-o filă nouă de browser.

Pentru a reveni la foaia de calcul după vizualizarea datelor subiacente, faceți clic pe numele foii de calcul în firimiturile de pâine din partea de sus a paginii.