Inserir e vincular a dados do Odoo¶
Vários elementos do seu banco de dados Odoo podem ser inseridos em uma planilha Odoo, a saber:
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
Listas, tabelas dinâmicas e gráficos de diferentes aplicativos e modelos podem ser inseridos na mesma planilha.
It is also possible to insert a pivot table that retrieves Odoo data directly from an Odoo spreadsheet.
Dica
Se você pretende usar filtros globais para filtrar dinamicamente os dados do Odoo em uma planilha ou painel, não use as mesmas condições para estabelecer a lista inicial, tabela dinâmica ou gráfico em seu banco de dados.
Também é possível:
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
Fontes de dados¶
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.
Clicar em uma fonte de dados abre as propriedades relacionadas em um painel à direita da planilha.
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.
Dica
O painel de propriedades também pode ser aberto clicando com o botão direito em qualquer célula de uma lista ou tabela dinâmica inserida e, em seguida, clicando em Ver propriedades da lista ou Ver propriedades da tabela dinâmica, ou clicando no ícone (menu) no canto superior direito de um gráfico inserido e, em seguida, clicando em Editar.
Depois que as propriedades de uma fonte de dados específica são abertas, elas permanecem abertas mesmo ao navegar entre as abas da planilha. Para fechar o painel de propriedades, clique no ícone (fechar) no canto superior direito do painel.
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.
Acessar dados subjacentes¶
Os dados subjacentes de uma lista, tabela dinâmica ou gráfico inserido podem ser acessados a qualquer momento. Para visualizar:
um registro individual de uma lista inserida, clique com o botão direito em qualquer célula da linha relevante e selecione Ver registro
uma lista de registros referenciados por uma célula individual de uma tabela dinâmica inserida, clique com o botão direito na célula e selecione Ver registros
uma lista de registros representados por um ponto de dados de um gráfico inserido, clique no ponto de dados.
Dica
Use o botão do meio do mouse ou Ctrl + clique esquerdo (Microsoft/Linux), ou Command + clique esquerdo (Mac OS) para abrir os resultados em uma nova aba do navegador.
Para retornar à planilha após visualizar os dados subjacentes, clique no nome da planilha nas migalhas de pão na parte superior da página.