Finance ·
Business Intelligence: Power BI-Style Dashboards for Your ERP or Odoo
Business questions rarely fit in a fixed report: sales by region, margin by product, customers who've stopped buying… The ERPSqlite BI app builds Power BI-style chart dashboards on your own data, on an external PostgreSQL database or on an Odoo instance, and AI can design them for you. Each chart is a query plus some display options, so you can start with what the AI suggests and fine-tune it by hand.

Data sources
- The ERP's own database.
- An external PostgreSQL server, with SQL queries and optional encrypted (SSL) connections.
- An Odoo instance, via its JSON-RPC API, with read_group aggregations (sums by field, dates by month…).

Key features
- Column, horizontal bar, line, area, pie, donut, waterfall, scatter or bubble charts, maps, gauges, KPI cards and tables.
- Two ready-to-use sample dashboards: “Sales analysis” and “Finance and operations”.
- AI-powered design: describe what you want to see and the AI proposes the charts.
- Queries are always read-only: a dashboard never modifies your data.
- Dashboards store their data and export to PDF.
- Scheduled refresh via a scheduled action.

App screens and views
“Dashboards” lists your dashboards with the number of charts in each. From there you create an empty one with “New” or a complete one with “Create with AI”. Inside a dashboard are the “Add chart”, “With AI”, “PDF” and “Refresh” buttons, the last of which shows the date of the data displayed.
Each chart has its own options menu: “Edit…”, “View data”, “Duplicate”, “Move before”, “Move after”, “Wider”, “Narrower”, “Taller” and “Shorter”. The editor brings together the title, subtitle, chart type, data source, the query with its “Test” button and a live preview.
“Data sources” stores your PostgreSQL and Odoo connections, with “Test connection” before you use them.


How to build your first dashboard
- Open BI → “Dashboards” and try one of the sample dashboards.
- Create a new dashboard and add a chart with its query.
- Or ask the AI for “sales by month and by salesperson” and review what it suggests.
- Position and resize each chart from its menu.
- Export it to PDF to share it.

A practical example
A company that still invoices in Odoo and is trialing ERPSqlite in parallel wants to compare the two. In “Data sources” it adds its Odoo instance with the URL, database, username and password or API key, and clicks “Test connection”.
Then it clicks “Create with AI” and types: “Stacked sales by month and country, and the top 10 products.” The AI reads the source schema, writes each query, tests it and picks the chart type. The manager changes the amount format to “Currency”, turns on “Stacked” for the column chart and downloads the PDF for Monday's meeting.


Tips to get the most out of it
- Start from a sample dashboard and duplicate the charts that work for you before writing queries from scratch.
- Use “View data” to check the rows behind a chart.
- For bar and line charts, “Break down (category, group, value)” turns a single query into multiple series.
- In tables, “Highlight” colors a numeric column by value, from lowest to highest.
- Keep each query focused: each one returns at most 5,000 rows.

Secure by design
BI queries run in a read-only transaction and can't read sensitive information such as passwords or keys; even if someone writes a dangerous query, it can't change or delete data.


Compared with Power BI and spreadsheets
As in Power BI, a dashboard combines KPIs, charts and tables from multiple sources. The difference is that BI lives inside the ERP: it reads the same database as your invoices and orders, with no data exports, and dashboards refresh themselves through the “BI: refresh dashboards” scheduled action, every 15 minutes by default.

Frequently asked questions
Can I connect BI to my Odoo?
Yes, Odoo is one of the data sources, along with the ERP database and PostgreSQL.
Do I need to know SQL?
Not necessarily: you can start from the sample dashboards or ask the AI to design the charts.
Can a dashboard modify my data?
No. All BI queries are read-only.
What do I need for AI-powered design?
A key from an AI provider configured in the ERP. Without one, you can still build charts by hand.
How often do dashboards refresh?
The “BI: refresh dashboards” scheduled action saves the data every 15 minutes, and you can refresh on demand with the “Refresh” button.
Can I share a dashboard?
Yes, by exporting it to PDF with the “PDF” button.