How teams get Odoo data into a warehouse or BI tool
Teams get Odoo data into a warehouse or BI tool by extracting it through the API, reading a PostgreSQL replica, running scheduled exports, or connecting a BI tool to a copy of the data, so that reporting never runs heavy queries against the live production database. Finance and operations leads usually reach this point when the built-in screens can no longer answer cross-company, cross-period or cross-system questions. Odoo is an open source suite of business applications for CRM, accounting, inventory, HR, manufacturing and point of sale, built on Python and PostgreSQL. The Community edition is licensed under LGPL-3.0, while the Enterprise edition adds features and support and its source code is not publicly available. According to Odoo's pricing page, only the Custom plan can be hosted on Odoo.sh or on-premise, and only Custom includes external API access, so the choice of plan and hosting decides which extraction paths are open to you.
The four paths trade off freshness, load on Odoo and the amount of engineering you own. API extraction calls Odoo's interfaces directly and suits incremental loads, but it depends on API access, integration users and rate limits that you must plan for. A read replica of the PostgreSQL database gives analysts full SQL access with little risk to live transactions, but it lags the primary and needs the replica and its access controls to be set up and maintained. Scheduled exports are the simplest to start with and the hardest to keep complete, because deleted and changed records are easy to miss. Connecting a BI tool such as Metabase or Apache Superset is a layer on top of one of these paths, not a substitute for them, and each tool has its own metadata database, licensing and access model to review. Confirm with your Odoo partner or your own team which of these paths your hosting and plan actually allow before choosing one.
Which extraction path fits which reporting need
This table compares four ways to get Odoo data into a warehouse or BI tool across freshness, load on production, access control, licensing and effort. Read each row against your reporting need, then check the plan and hosting notes before you commit to API extraction. The main takeaway is that the cheapest-looking path often carries the highest production or access risk.
| Path | Freshness and load on production | Access control and licensing | Effort and main risk |
|---|---|---|---|
| API extraction (JSON-2) | Freshness depends on your schedule. Each call runs through Odoo's ORM, so heavy pulls compete with users on the production instance. | Needs external API access, which the Custom plan includes. Use a dedicated integration user with minimum rights and a scoped API key. | Moderate. Every model you pull needs mapping and pagination. Confirm API availability for your plan and hosting first. |
| PostgreSQL read replica | Near real time, depending on replication lag. Reads do not touch the production application, but the replica must be provisioned and monitored. | Access is set at database level, outside Odoo's record rules, so grant only the schemas and tables reporting needs. Confirm replica options with your hosting setup. | Higher. You manage replication, schema changes after upgrades and sensitive-data exposure. Plan it with your DBA. |
| Scheduled exports | Freshness equals the export interval. Runs can be heavy at the scheduled time, so off-hours windows matter. | Exports can carry personal data out of Odoo's access rules. Restrict who receives files and where they are stored. | Low to moderate. Simple to build, but file formats break when models or fields change during an upgrade. |
| Direct BI connection to production | Live queries, but the BI tool runs heavy SQL against the production database, which is the main risk. | Metabase and Superset are licensed separately from Odoo, under AGPL and Apache-2.0 respectively. Check which features need paid BI editions, such as SSO and row-level permissions. | Low to set up, high to operate safely. Avoid this path for production databases without a replica in between. |
Why a PostgreSQL replica needs careful access control
The core trade-off is between reading Odoo through its ORM API and reading a PostgreSQL replica directly. Through the JSON-2 API, each call authenticates with a bearer API key tied to an Odoo user, and Odoo's access rights and record rules apply to every record returned. A user with a narrow role sees only what that role allows, so the warehouse receives the same restricted view the user would see in the interface. A replica has no such filter. A read-only database role with SELECT on the schema can scan any table in full, including tables that record rules hide from users, such as salary, bank or customer fields, and it can read rows Odoo would never show to the integration user. The speed and completeness that make a replica attractive for analytics are the same properties that remove Odoo's access model from the path.
Because the replica bypasses record rules, the access model has to be written down and enforced at the database layer before anyone connects a BI tool. Confirm which schemas and tables the reporting role needs, and grant only those, with column-level exclusion for personal or financial fields. Decide who owns the reporting role, how its password or certificate is rotated, and where its connections are allowed to originate. Review whether Metabase or Superset will hold that credential in its own application database, since both tools store connection settings and, in Superset's case, encrypt them with the SECRET_KEY. Test the role with a query that should fail, such as a restricted table, before any dashboard depends on it. Record these decisions so compliance and security reviewers can check them against the actual grants.
Replica setup, replication lag and failover belong to the operations side of the project, not to the reporting layer. A dashboard built on a lagging replica shows yesterday's figures without warning, and a replica that has been promoted or rebuilt can change which database the reports read. Ask the operations owner how lag is measured and alerted on, what happens to reports when the replica is unavailable, and how replica configuration changes are reviewed. For the performance side of replica use, including long-running queries and their effect on the primary, continue with the Odoo operations and performance group of pages, which covers PostgreSQL replicas in day-to-day running.
Setting up a reporting path without loading production
This sequence gives the BI team a read path into Odoo data that runs on separate infrastructure, so dashboards and queries never touch the production database directly.
Confirm plan and hosting allow API access
Before any design work, confirm with Odoo which plan and hosting type the database runs on. Per Odoo's pricing page, only the Custom plan includes external API access, and only Custom can be hosted on Odoo.sh or on-premise. If the database is on a plan without API access, the extraction route is closed and the team must choose a replica or export path instead. Done when the plan name, hosting type and API entitlement are written down and signed off by the database owner.
Create a dedicated read-only integration user
Create a separate Odoo user for reporting, not a shared administrator account. Grant only the access groups and record rules needed for the reporting models, and leave out write, delete and administration rights. Generate an API key for that user and record its expiry and owner. Done when a test call using only this key returns the expected records from a reporting model and is refused for a model outside its scope.
Choose extraction or a PostgreSQL replica
Decide how data leaves Odoo. API extraction suits smaller volumes and works where direct database access is not available. A PostgreSQL replica suits heavier analytical queries, but it needs a database-level read-only role, a replication setup your DBA can maintain, and a clear answer on how replica lag affects reports. Record the choice, the refresh expectation, and who owns the replica. Done when the decision is documented with the trade-offs the stakeholders accepted.
Stand up a separate BI metadata database
Provision a metadata database for the BI tool on infrastructure separate from Odoo. Metabase recommends PostgreSQL for production and documents an embedded H2 database only for demos. Superset is tested with PostgreSQL and MySQL as its metadata database, and its SQLite default is not recommended for production. Back up this database from the start and store its credentials in your secrets manager. Done when the BI application starts against this database and a backup has been restored successfully once in a test environment.
Connect the BI tool to the warehouse or replica
Add the extracted warehouse or the replica as a data source in Metabase or Superset, using the read-only credentials from the earlier steps. Confirm that the connection cannot write, that only the approved schemas or tables are visible, and that the BI tool's own user model maps to your access policy. Pick the Metabase edition deliberately, since SSO, row and column level permissions and usage auditing are documented as Pro or Enterprise features. Done when a test query runs under a restricted BI user and shows only the permitted data.
Verify row counts and permissions against Odoo
Before publishing any dashboard, compare record counts for each reporting model between Odoo and the warehouse or replica for the same date window. Spot-check a sample of individual records field by field, and confirm that a restricted user cannot see records that Odoo's own access rules hide. Log any gaps, such as timezone shifts, deleted records or lagging replicas, and resolve or document each one. Done when counts match within the agreed tolerance and the permission tests pass, with results saved as evidence for the data owner.
Publish dashboards and schedule reviews
Publish dashboards only after the verification evidence is accepted by the data owner. Record which Odoo models feed each dashboard, the refresh schedule, and the owner of each metric. Schedule a recurring review of the integration user's API key, the replica health and the BI tool's version support status, since Metabase and Superset both publish version lifecycles and upgrades need a tested staging path. Done when the owners have signed off and the review dates are on the team's calendar.
Metabase or Superset: how they differ for this job
Both tools can sit on a PostgreSQL replica of Odoo, but they differ in licensing, which access controls are free, and how many moving parts you run. The cards below cover the decisions that most affect a reporting project for Odoo data.
Metabase open source and paid tiers
Metabase's open source edition is free, and its Starter plan costs $100 per month, or $90 per month billed yearly with the first 5 users included, according to its pricing page. Pro is $575 per month, or $517.50 per month billed yearly, with the first 10 users included. Confirm current prices on the pricing page before you budget, because the plan you pick decides which access controls you get.
Metabase pricingRow and column permissions need Pro
SSO, row and column level permissions, multi-tenant data segregation and usage analytics are included only in Pro and Enterprise, not in Open Source or Starter. For Odoo data this matters when sales reps should see only their own pipeline or when payroll-adjacent HR fields must be hidden from most viewers. If you run Open Source or Starter, plan access separation at the database level instead.
Metabase people and groupsSuperset licence and no paid edition
Apache Superset is released under the Apache License 2.0 and has no paid edition, so licence cost is zero and the features you need are the same for every installation. The trade-off is that you own all operations, support and upgrades yourself or through a partner. Check the license terms with your legal team, since Metabase's commercial editions use a different licence (its open source edition is AGPL).
- Licence
- Apache 2.0
Caching and workers for alerts
Superset's architecture documentation says that alerts and reports, async queries and dashboard thumbnails require the caching layer and Celery worker components, with most installations using Redis and Celery. If your reporting needs scheduled alerts or long-running queries, budget for these services from the start. Metabase's scheduling model differs, so compare the operational footprint, not only the feature list.
Superset architecture docsSECRET_KEY and metadata database
Superset requires a user-specified SECRET_KEY to start, a requirement added in version 2.1.0, and supports rotation with PREVIOUS_SECRET_KEY. Its metadata database should be PostgreSQL or MySQL, not the SQLite default used by quickstart installs. Metabase similarly recommends PostgreSQL for its application database, while its embedded H2 database is meant for demos. Confirm which database and secret handling your security team will accept before the build.
Upgrade effort for each tool
Metabase runs application database migrations automatically, and its docs recommend backing up the application database first and reducing a cluster to a single node for major upgrades. Superset requires superset db upgrade and superset init, testing in staging, and checking UPDATING.md for breaking changes. Ask your partner to include both upgrade paths in the scope so that each tool's release cadence is planned from the start.
How data moves from Odoo to the BI layer
The diagram starts at the Odoo production database and shows two extraction paths: a read replica of PostgreSQL, or the Odoo API pulled by a scheduled job. Both feed a staging warehouse that sits in its own trust zone, separate from Odoo's production database and from the BI tool. Metabase or Superset then reads only the warehouse, with its own application metadata database holding dashboards, users and permissions. Check each arrow for credentials, network path and who can reach the replica or staging store.
Two extraction paths feed a staging warehouse, which the BI tool reads across a trust boundary.
Keeping the pipeline working through Odoo and BI upgrades
Every extraction path into Odoo has to survive Odoo's own release cycle, and that cycle is shorter than most reporting projects expect. On Odoo Online and Odoo.sh, major version upgrades are mandatory every two years, and standard support covers the first three years after a major release. Odoo's upgrade service moves a database through an upgraded test copy that should be tested before production. For a pipeline, that means model names, field names, selection values and JSON-2 behavior can change under your extraction code during a planned upgrade. Assign an owner for the extraction layer, keep a versioned list of every model and field it reads, and make the upgraded test database the place where that list is rerun before any cutover. If you run Community, confirm with your Odoo partner which upgrade route applies to your version, because the Enterprise upgrade service is not available to Community databases.
The BI tool has its own clock. Metabase LTS versions are supported for 14 months, while non-LTS releases usually reach end of life after two months, so pinning to an LTS line is the simpler maintenance choice. Metabase runs application database migrations automatically during an upgrade. Its documentation recommends backing up the application database first, reducing a cluster to a single node for major upgrades because of a migration lock, and upgrading release by release from versions older than 40. Superset works differently: the upgrade documentation asks you to back up the metadata database, run superset db upgrade and then superset init, test in staging first, and read UPDATING.md for breaking changes between versions. Decide who runs these steps, where the backups are stored and how long a rollback would take before the first upgrade is scheduled.
Treat the Odoo and BI upgrades as one change calendar. A new Odoo major version can break a dataset, a chart or a scheduled export even when the BI tool itself is unchanged, so the staging environment should hold a copy of the BI metadata alongside an upgraded Odoo replica. Ask your implementation partner to define the test cases that prove each dashboard still returns the same totals after both sides move. Confirm the support end dates for your Odoo version and BI version with the vendors before you agree on a schedule, because these dates are published and change. A short written runbook covering the Odoo cutover, the BI backup, the migration command and the rollback decision will do more to keep the pipeline working than any single tool setting.
Security and operational risks to control
Pulling Odoo data into a warehouse or BI tool creates a second copy of business data with its own credentials, users, backups and failure modes. The cards below cover the risks that tend to be missed when the extraction pipeline and the BI layer are treated as reporting plumbing rather than production systems.
Integration user credentials and rotation
The extraction job authenticates as a dedicated Odoo user through an API key or database credential, and that credential can read everything the user can read. Confirm which user the pipeline runs as, what groups it belongs to, how long its keys last, and who can generate or revoke them. Document a rotation step and test that the pipeline recovers cleanly after a key changes.
Least-privilege read access
A reporting user should see only the models, companies and fields the reports need. Odoo user groups and record rules decide what the extractor can read, and a broad administrator account quietly exposes every model. Review access per model before the first load, and repeat the review when new apps or fields are added.
PII and sensitive fields leaving Odoo
Contacts, employee records, bank details and payment references often sit in tables that analysts do not need. Once extracted, they are copied into warehouse tables, query logs, exports and dashboard caches that have weaker controls than Odoo. Decide which fields are excluded, masked or hashed at extraction, and confirm with your privacy team where the copies will be stored.
BI user access and SSO tier limits
Metabase limits SSO, row and column level permissions and usage auditing to its Pro and Enterprise plans, and Superset depends on how its OAuth or LDAP mapping is configured. Choose the BI tier before the design depends on row-level security, and confirm that group mappings from your identity provider produce the roles you expect. Test a restricted user account before rollout.
Metabase pricingBackups of BI application databases
Metabase and Superset each keep their own metadata database with dashboards, questions, users, permissions and schedules. Losing it means rebuilding reports by hand even when the warehouse data is intact. Back up the application database on a schedule, store copies outside the BI host, and test restores, including the Metabase upgrade step that backs up before migrations.
Metabase upgrade docsMonitoring extraction jobs for failures
Scheduled extractions fail quietly when an API key expires, a model is renamed by an upgrade, or a replica falls behind. Dashboards then show stale numbers without warning. Alert on job failures, row count drops and data freshness, and define who responds when a job stops, so a broken pipeline is caught before a monthly report goes out.
Questions buyers ask before hiring help
What drives the cost and effort of an Odoo reporting project?
The main drivers are the number of sources, the number of Odoo models and fields you need, how often data must refresh, and how much security review the reporting layer needs. Each additional source (for example, an Odoo database alongside a payments or CRM system) adds mapping, testing and maintenance. Frequent refresh adds scheduling and monitoring work, and a formal security review adds access design, evidence gathering and retesting. Costs are mostly one-time build work plus recurring operation of the pipeline, the reporting tool and its upgrades. Ask any partner to split the quote into those two groups and to name which sources and refresh rates it assumes.
Can our own team build Odoo reporting without a partner?
Often yes, if you have engineers who know Odoo's data model, PostgreSQL and the tool you choose. A small, single-source reporting setup with a few dashboards is a reasonable first project for an internal team. The risks sit in the areas that are easy to underestimate: reading the ORM data correctly (for example, many-to-many and multi-company records), keeping read-only access separate from production, and maintaining the pipeline after Odoo upgrades change fields. Decide up front who will own the work after go-live, because an unowned reporting layer tends to drift from the source system.
How long does a reporting project usually take?
Duration depends mainly on how many sources and reports are in scope, how clean the source data is, and how many people must approve the metrics. Metric definitions, such as how revenue or stock value is counted, usually take longer than the technical connection. Plan the work in phases: confirm the data sources and access, build and test a first set of reports, then add sources and refresh schedules. Ask for a timeline tied to named phases in the written scope rather than a single overall figure, because the phases show where delays would come from.
What does the work need from IT and finance?
IT needs to provide a read-only database role or API credentials, network paths between the reporting host and Odoo, and a place to run the reporting tool with its own backups. IT also owns secrets storage, TLS, and patching of the reporting stack. Finance needs to agree the metric definitions, sign off the reports that feed closing or board packs, and name the people who approve changes to those definitions. Without that finance sign-off, the dashboards will be technically correct and still disputed. Both teams should review access before any data leaves the production environment.
Is Metabase open source enough for our reporting needs?
The open source edition of Metabase is free under the AGPL and covers basic exploration and dashboards, but the Metabase pricing page places SSO, row and column level permissions, multi-tenant data segregation and usage analytics and auditing only in the Pro and Enterprise plans. If your requirements include SSO or row-level access, check those features against the Pro plan, which the pricing page lists at $575 per month or $517.50 per month billed yearly with the first 10 users included. Also check whether you need advanced LDAP group sync or SCIM provisioning, which the people and groups documentation places in Pro or Enterprise. Compare the open source edition with the paid plans against your access model before deciding.
Is it safe to report from a PostgreSQL replica of Odoo?
A streaming replica is a common and reasonable source for reporting because it keeps analytical queries away from the primary database that serves users. It still needs care: replicas lag behind the primary, so dashboards show data as of the last replay, and long analytical queries can conflict with replication unless the replica is configured for that load. Use a read-only role, limit it to the schemas you need, and avoid writing to the replica. Treat the replica as a reporting copy, not a backup, and confirm its lag and sizing with your PostgreSQL administrators before you rely on it for month-end numbers.
What should a quote for an Odoo reporting project include?
A useful quote lists the in-scope sources, the reports and dashboards by name, the refresh frequency for each source, and the metric definitions the partner will implement. It should separate one-time build work from recurring costs such as hosting, licenses for paid tool tiers, and upgrade work when Odoo or the reporting tool changes version. It should also state what the client provides (credentials, network access, finance sign-off), what testing and acceptance look like, and how changes after go-live are priced. Ask which Odoo version and hosting type the work assumes, because the Odoo plan and hosting determine which access routes are available.
How DeployOpen scopes a reporting project
DeployOpen scopes the reporting path in writing before any build starts, because the choice between API extraction, a PostgreSQL replica, scheduled exports and a BI tool changes who can see which data, how fresh it is and what must be patched later. The written scope names the Odoo version and hosting type, the list of models and fields the reports need, the extraction method, the target warehouse or BI tool, and who owns each credential. It also records what is out of bounds, such as writes to the production database and access to personal data fields that reports do not need. Before the scope is signed, confirm whether your Odoo plan allows external API access, since the Odoo pricing page ties external API access to the Custom plan.
If the BI tool is part of the project, DeployOpen deploys self-hosted Metabase or Superset inside your infrastructure, with the application database on PostgreSQL, single sign-on or LDAP configured against your identity provider, role-based access to each data source, and audit logging turned on so your security and compliance teams can review who queried what. Metabase's SSO, row and column level permissions and usage auditing sit in its Pro and Enterprise plans, so the scope should confirm which edition your access model needs. For Superset, the scope should state whether alerts, reports and async queries are in use, because those require the caching layer and Celery workers, and whether the metadata database is PostgreSQL or MySQL.
Reporting tools change with each release, so DeployOpen offers retainers for upgrades and continuous testing alongside the initial build. Ask for the upgrade steps, the staging environment used to test them, and the backup of the application database before each change, and confirm them in the written scope. Cost depends on the number of sources, the access rules, the hosting and the testing depth, and a quote follows from that written scope rather than from a fixed price list.
How DeployOpen delivers Odoo reporting connections
DeployOpen scopes, builds, tests and hands over reporting connections from Odoo to a data warehouse or BI tool inside infrastructure you control. The work covers the extraction method, the reporting database or replica, the BI tool, its access model and the runbook your team keeps after go-live.
How we scope
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
- The written scope names the Odoo version, hosting type, data sets and reports the connection must serve
- We confirm whether your Odoo plan and hosting allow external API access before choosing an extraction method
- Scope records who owns the BI tool, the reporting database and each Odoo data set that feeds it
How we build
- We compare API extraction, a PostgreSQL replica, scheduled exports and direct BI connections against your reporting needs
- Reporting users get read-only credentials, separate from integration users that write data
- The BI tool's application database is set up on PostgreSQL rather than its embedded default for production
- Each data pipeline is built on a duplicate of your Odoo database before anything touches production
How we hand over
- Written documentation covers each extraction job, its schedule, its source models and its failure handling
- Access controls, permission groups and the list of exposed tables are documented for your security team
- Test results from the duplicate database and the production checks are delivered with the handover
- Your team receives an upgrade and backup runbook covering both Odoo and the BI tool versions in use
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- Upgrade planning covers Odoo support windows and BI tool version changes, tested in staging first
- Retainers can include monitoring of extraction jobs and periodic review of credentials and access rights
- Ask any quote to name who maintains each component, the upgrade steps and the recurring costs

