Dataset
Odoo ERP database record datasets for AI training
An Odoo dataset is a copy of one company's Odoo database records: account.move journal entries with their account.move.line items, account.payment rows, sale.order and purchase.order documents, stock.picking transfers and stock.move lines, res.partner, product and crm.lead records, and the mail.message chatter thread and attachments on each. SourceX sources it to a buyer's spec from established businesses that run Odoo on Odoo Online, Odoo.sh or their own server. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- One Odoo database's accounting, sales, purchase, inventory and CRM models, with chatter, tracked changes, attachments and the module list
- Typical systems
- Odoo Community or Enterprise on Odoo Online, Odoo.sh or a self-hosted server; Accounting, Sales, Purchase, Inventory and CRM apps, plus Studio fields and custom modules
- Typical history
- Specified by the buyer; whole fiscal years, with the Odoo version and upgrade dates noted
- Modality
- Structured rows per model, HTML message bodies, tracked field changes, attachment files such as PDF invoices
- Delivery formats
- Agreed per order; CSV or Parquet per model under Odoo's technical names, attachment files keyed by checksum, field and module metadata
- Preparation
- Partners, users and bank accounts pseudonymized or removed; chatter bodies and attachments scrubbed or excluded; credentials dropped
- Licensing
- Permitted use agreed per license; scoped by company, app and date range
- Availability
- Sourced to your spec from businesses that run Odoo; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| move_key | string | Pseudonym of the account.move ID that journal items, reconciliation rows, chatter messages and attachments refer to. |
| move | object | account.move columns: move_type, name, state, payment_state, invoice_date, journal, invoice_origin, amount_total and amount_residual. |
| move_lines | array | account.move.line rows: display_type, account, debit, credit, quantity, price_unit and the product.template category of the product. |
| reconciliation | array | account.partial.reconcile rows: debit_move_id and credit_move_id pair one of this move's lines with a line of another move, with the amount matched. |
| payments | array | account.payment rows whose journal items reconcile with this move: payment_type, amount, date and journal. |
| order | object | The sale.order or purchase.order behind the invoice lines: name, state, date_order, invoice_status and sale.order.line quantities. |
| transfers | array | stock.picking transfers of that order with state, origin and backorder link, and their stock.move rows with product, quantity and locations. |
| partner | object | The res.partner on the document, pseudonymized: is_company, parent link, country, customer_rank and supplier_rank. |
| lead | object | The crm.lead named by the sale order's opportunity_id: stage, expected_revenue, probability and active flag. |
| chatter | array | mail.message rows whose model and res_id name this record: message_type, subtype, date, author key and scrubbed body. |
| chatter[].tracking | array | mail.tracking.value rows of a message: the field and its old and new value from the typed value columns. |
| attachments | array | ir.attachment rows on the record: name, mimetype and checksum, with the filestore file delivered under that checksum. |
| custom_fields | object | Values of x_ and x_studio_ fields on the row, each with the label and type from ir.model.fields. |
Field names from the table above; values are masked placeholders.
Example record
{
"move_key": "mv_70c2e1",
"move": {
"move_type": "out_invoice",
"name": "INV/2024/00318",
"state": "posted",
"payment_state": "partial",
"invoice_date": "2024-06-04",
"journal": "Customer Invoices",
"invoice_origin": "S00412",
"amount_total": 4536.0,
"amount_residual": 2036.0
},
"move_lines": [
{
"display_type": "product",
"account": "400000 Product Sales",
"product_category": "Office Furniture",
"quantity": 12,
"price_unit": 350.0,
"credit": 4200.0
},
{
"display_type": "tax",
"account": "251000 Sales Tax Payable",
"credit": 336.0
},
{
"display_type": "payment_term",
"account": "121000 Accounts Receivable",
"debit": 4536.0,
"amount_residual": 2036.0
}
],
"reconciliation": [
{
"debit_move_id": "aml_70c2e1_3",
"credit_move_id": "aml_70d9aa_1",
"credit_move": "mv_70d9aa",
"amount": 2500.0,
"full_reconcile_id": null
}
],
"payments": [
{
"payment_type": "inbound",
"amount": 2500.0,
"date": "2024-06-28"
}
],
"order": {
"model": "sale.order",
"name": "S00412",
"state": "sale",
"invoice_status": "invoiced",
"lines": [
{
"product_uom_qty": 12,
"qty_delivered": 12,
"qty_invoiced": 12
}
]
},
"transfers": [
{
"name": "WH/OUT/00297",
"state": "done",
"origin": "S00412",
"moves": [
{
"product": "prd_118",
"product_uom_qty": 12,
"location": "WH/Stock",
"location_dest": "Partners/Customers"
}
]
}
],
"partner": {
"key": "ptn_0931",
"is_company": true,
"country": "US",
"customer_rank": 7
},
"lead": {
"key": "lead_2204",
"stage": "Won",
"expected_revenue": 4000.0
},
"chatter": [
{
"date": "2024-06-04T08:15:32",
"message_type": "notification",
"author": "usr_12",
"tracking": [
{
"field": "state",
"old_value_char": "Draft",
"new_value_char": "Posted"
}
]
},
{
"date": "2024-06-28T10:02:11",
"message_type": "comment",
"subtype": "Note",
"author": "usr_12",
"body": "<p>[CUSTOMER] will pay the balance once the replacement desks arrive.</p>"
}
],
"attachments": [
{
"name": "INV_2024_00318.pdf",
"mimetype": "application/pdf",
"checksum": "att_3f9a61"
}
],
"custom_fields": {
"x_studio_delivery_window": {
"label": "Delivery window",
"value": "morning"
}
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Invoice coding and posting
Invoice lines that are also journal items, with account, tax and partner, are direct examples of how a bill or invoice was coded.
Payment matching
Reconciliation rows pairing payment lines with open invoices are worked examples for a matching model, partial payments included.
Record-grounded drafting
A chatter thread beside its order or invoice lets a model learn to answer a customer email from the state of the record.
Fulfillment and backorder reasoning
Pickings, backorders and stock moves between locations show how an order was delivered in parts and what stayed open.
Agents in a small-business ERP
A database with its module list and Studio fields tests whether an agent copes with one company's own setup.
Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Document AI, enterprise search and RAG, Private evaluation sets
What makes this data valuable
Filestore present
Every attachment row in scope resolves to a file delivered under its checksum.
Module list delivered
Installed modules, their versions and field definitions come with the tables.
Tracking in use
The fields you care about were tracked for most of the period.
Reconciliation intact
Paid and partly paid invoices have the matching rows that explain their residual amount.
Upgrades documented
The Odoo version in force for each year is stated, with upgrade dates.
Archived rows flagged
Archived partners, products and lost leads are included with their active flag.
System export
Odoo dataset
One model for every journal entry and a thread on every record
Odoo keeps customer invoices, vendor bills, credit notes and manual journal entries in one model, account.move, told apart by move_type: out_invoice, in_invoice, out_refund, in_refund or entry. The product lines, the tax lines and the receivable or payable line of an invoice are all account.move.line rows, told apart by display_type in current versions, each with its account, debit and credit. The invoice and its ledger posting are the same rows, so there is no subledger to reconcile against the ledger. A database upgraded from an older Odoo version, where invoices sat in a separate account.invoice model, carries migrated rows.
In most versions an account.payment has a journal entry of its own, tied to the invoice it settles through account.partial.reconcile rows that pair one debit line with one credit line for an amount. The payment_state and amount_residual on the invoice are stored results of that matching and are overwritten as payments arrive. Orders reach invoices at line level, through the relation between sale.order.line and its invoice lines. Stock is double-entry too: every stock.move takes a quantity from one location to another, and customers, vendors and inventory losses are locations.
Almost every business record also carries its chatter. Each mail.message row names its record by model and res_id, plain columns that no foreign key enforces, and is an email, a comment or a notification, with a subtype that separates internal notes from messages sent to followers. When a field declared as tracked changes, Odoo posts a message with mail.tracking.value rows holding the field and its old and new value. The conversation about an order and its edit history therefore sit on the order. Only tracked fields are logged, and changes to order lines mostly are not, so a missing tracking row proves nothing.
A backup is a PostgreSQL database plus a filestore
A full Odoo backup is an archive with a SQL dump, a filestore directory and a manifest naming the Odoo version and the installed modules. The database manager's other format, a pg_dump custom-format file, carries neither the filestore nor the manifest. Each model is a table whose name swaps dots for underscores, so sale.order is sale_order. By default attachment content is not in the database. An ir.attachment row holds the name, the record it belongs to, the MIME type, a checksum and store_fname, and the file sits in the filestore under a path derived from its hash. A dump taken without the filestore keeps the rows and loses every PDF, scan and image.
A dump holds stored columns only. Fields computed when a form is read do not exist in it, while an export through the list view or the external API returns them, skips archived rows unless asked, and is limited to what the exporting user may see. Lost CRM leads are archived rows. Values that differ by company, such as a product's cost, sit in ir.property rows or in JSON columns, depending on the version. Fields added by hand or in Studio start with x_ or x_studio_. Columns from third-party modules look like standard ones, and only ir.model.fields, the ir.model.data rows that tie each field to its module and the module list tell them apart or say what a selection key means.
The same dump holds things that should never leave: user password hashes, system parameters, mail server and payment provider settings and website visitor tables. To test a sample, count ir.attachment rows whose store_fname has no file, check that every posted account.move balances, recompute amount_residual from the reconciliation rows, count tracking rows per field, and list every x_ column with no definition and every installed module not published by Odoo S.A.
What to check before licensing
- Ask whether the delivery came from a full backup with its filestore, and on a sample count ir.attachment rows whose store_fname has no matching file.
- Require the installed module list with versions, the ir.model.fields and ir.model.data rows and selection labels, and list every x_ and x_studio_ field with no definition.
- Check that mail.message bodies, sender addresses and tracked values are scrubbed, and that emails written by outside parties were excluded where the company cannot license them.
- Confirm res.partner contacts and res.partner.bank accounts are removed or pseudonymized, including individual contacts under a company and avatar images in the filestore.
- Confirm user credentials, system parameters, mail server and payment provider settings, website visitor tables and data of third-party modules were excluded.
- Read the Odoo S.A. subscription or hosting terms, and the licenses of installed modules, with the data owner on database export and API use.
- Ask which Odoo version each year was recorded under, then check that posted moves balance and that amount_residual agrees with the reconciliation rows.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Does an Odoo dataset include the emails and notes on each record?
It can, within what the company may license. The chatter on an order, invoice, transfer or lead is stored as mail.message rows: emails, internal notes and automatic notifications, with subtype and author. Personal details in bodies are removed or replaced before delivery. Confirm that correspondence written by outside parties was left out where the company cannot license it, and state whether you need message bodies or only metadata.
Does an Odoo database keep the history of field changes?
Only for tracked fields. When a field declared as tracked changes, Odoo posts a chatter message with mail.tracking.value rows holding the field, the old value and the new value, with the user and time on the message. Status and salesperson fields are typically tracked, most line-level fields are not, and everything else holds only its current value.
Why are invoices and journal entries the same records in Odoo?
Because Odoo stores both in account.move. A customer invoice is a move with move_type out_invoice, a vendor bill is in_invoice and a manual journal entry is entry. The invoice's product, tax and receivable lines are account.move.line rows with debits and credits, so every invoice arrives with its posting attached, and payments are found through reconciliation rows.
Is a PostgreSQL dump enough, or is the filestore needed too?
The filestore is needed for any document content. The database stores attachment metadata in ir.attachment, and the PDF invoices, scanned bills, product images and email attachments sit as files in the filestore, named by hash. A SQL-only dump gives rows that point at missing files, so require a full backup and check that each store_fname resolves.
How are Studio fields and custom modules handled?
They need the module list and the field definitions to be usable. Fields created by hand or in Studio carry an x_ or x_studio_ prefix, and custom or third-party modules add columns and models that look standard. The ir.model.fields rows give each field its label, type and selection values. Say which custom fields you want, and confirm that third-party module data the company cannot license was excluded.
Is SourceX affiliated with Odoo S.A.?
Odoo is named to identify the system the records come from. That does not imply a partnership with or endorsement by Odoo S.A. The records belong to the business that runs Odoo, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- ERP transaction histories across modules
One company's ERP documents across modules, with flow links, change logs, master data and the data dictionary
- Bookkeeping firm client files across many businesses
Many small-business client files from one firm: feed lines, coding, source documents, client queries and period-end packages
- NetSuite ERP transaction records
One NetSuite account's transactions with lines, accounting lines, links, master records, system notes and custom field definitions
- SAP Business One company records
One company database's marketing documents with row-level base links, payments, journal entries, masters, the warehouse journal and history tables
- Business Central ledger and document records
Ledger entries, open and posted sales and purchase documents, and customer, vendor, item and account masters with dimensions from one company in a Business Central tenant
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.