Criar e personalizar dashboards
Além de consultar dashboards padrão <dashboards/standard>, usuários com os direitos de acesso <dashboards/access-and-sharing/customize-configure-build> apropriados podem criar dashboards personalizados do zero <build_and_customize_dashboards/build> ou personalizar dashboards existentes <build_and_customize_dashboards/customize> para responder às necessidades comerciais específicas.
Criar um dashboard
Em termos mais simples, criar um dashboard envolve inserir dados do Odoo em uma planilha e depois converter essa planilha em um dashboard <spreadsheet/get-started/convert-to-dashboard>.
Porém, para criar um dashboard que forneça insights relevantes e valiosos, é importante considerar o processo em termos de três estágios principais: preparação <build_and_customize_dashboards/build-preparation>, inserção e manipulação de dados <build_and_customize_dashboards/build-insertion-manipulation> e visualização de dados <build_and_customize_dashboards/build-visualization>.
Preparação
Este estágio envolve:
defining the purpose of the dashboard, in other words, the business questions it needs to answer, and deciding what data would answer those questions;
determining where to find the relevant Odoo data and deciding which type of view (i.e., list, pivot table, or chart) is most suited for the data analysis needed;
preparing the Odoo data by refining the views to focus on the most relevant information, e.g., by using search filters, by making only certain list fields visible, or by deciding which dimensions and measures a pivot table should use;
sourcing any other information needed to support the dashboard.
Inserção e manipulação de dados
Este estágio envolve:
inserting the prepared lists, pivot tables or charts into the spreadsheet you will use to build your dashboard;
manipulating the data, if needed, to be able to draw the necessary insights. This may involve performing calculations or creating custom metrics using standard or Odoo-specific functions and formulas, referencing data from various sources within the spreadsheet, or converting static pivot tables to dynamic pivot tables.
Visualização de dados
Este estágio envolve:
presenting the data on at least the first sheet of your spreadsheet (i.e., the sheet that will serve as the front end of your dashboard) in a clear, visual, and meaningful way so it is easy to interpret. Concretely, this means deciding on the layout and order of elements such as tables and charts, as well as using tools and techniques to guide the user, such as clear and descriptive headings, text formatting and colors, carefully chosen chart types, and conditional formatting to highlight specific data visually;
inserting clickable links <spreadsheet/insert/clickable-links>, if relevant, to provide access to Odoo menu items, URLs, or other sheets within the same spreadsheet if these should also be accessible from the front end of your dashboard;
creating global filters to allow users to tailor the view to their needs;
converting the spreadsheet into a dashboard <spreadsheet/get-started/convert-to-dashboard>, determining whether to add the dashboard to an existing or new dashboard section, and managing access rights to the dashboard <dashboards/access-and-sharing/manage-view-access>.
Personalizar um dashboard
Um dashboard pode ser personalizado abrindo sua planilha subjacente <build_and_customize_dashboards/customize/open-spreadsheet>, ou seja, a planilha do Odoo a partir da qual o dashboard foi criado, e fazendo quaisquer alterações desejadas <dashboards/customize-dashboard/edit-spreadsheet>.
Abrir a planilha subjacente
Para abrir a planilha subjacente de um dashboard:
In the Dashboards app, go to .
Open the relevant dashboard section, then, on the line of the relevant dashboard, click fa-pencil Edit.
A planilha que abre normalmente consiste em pelo menos duas planilhas:
The first sheet always serves as the front end of your dashboard, and contains the tables and charts used to structure and visualize the data.
The second and any subsequent sheets typically contain data used for the calculation of key metrics shown on the first sheet.
Para dashboards padrão <dashboards/standard>, enquanto as fontes de dados ainda estão ativas e visíveis no menu , as listas e tabelas dinâmicas correspondentes foram removidas da planilha para melhor desempenho e aparência mais limpa.
Duplicar um dashboard
Para duplicar um dashboard:
In the Dashboards app, go to .
Open the relevant dashboard section, then, on the line of the dashboard you want to duplicate, click fa-pencil Edit.
In the spreadsheet that opens, click os-copy-file .
Rename the duplicated dashboard by clicking the name of the spreadsheet at the top left of the screen and editing as needed.
Adicionar, editar ou remover elementos do dashboard
Os dashboards podem ser personalizados de várias maneiras, como:
adding new tables and charts based on previously inserted or newly inserted Odoo data <dashboards/customize-dashboard/edit-spreadsheet-new-odoo-data>. This requires a similar approach to building a dashboard from scratch <build_and_customize_dashboards/build>;
adding new global filters or editing or deleting existing ones;
adding or editing clickable links <spreadsheet/insert/clickable-links> to Odoo menus, URLs, or to other sheets within the same spreadsheet.
Inserir novos dados do Odoo
Novos dados do Odoo, como listas, tabelas dinâmicas ou gráficos, podem ser inseridos em um dashboard, partindo da visualização de lista, visualização dinâmica ou visualização de gráfico relevante. Concretamente, uma lista ou tabela dinâmica é inserida em uma nova planilha na planilha subjacente do dashboard; um gráfico é inserido na primeira planilha da planilha.
Para inserir novos dados:
With the relevant list view, pivot view or graph view open in your database, proceed as follows:
For a list view, click the fa-cog (Actions) icon beside the name of the view, then Spreadsheet --> oi-view-list .
For a pivot or graph view, click Insert in Spreadsheet at the top left of the view.
In the window that opens, edit the name if needed. For a list, edit the number of records, i.e., rows to be inserted, if needed.
Click the Dashboards tab then select in which dashboard the list, pivot table, or chart should be inserted.
A planilha subjacente do dashboard se abre, com os novos dados inseridos em uma nova planilha (lista ou tabela dinâmica) ou na primeira planilha (gráfico).