Skip to content

Case study · Manufacturing

Odoo ERP AI Integration for Inventory, Purchasing and Maintenance

We integrated AI with a global manufacturer's Odoo ERP so planners can ask inventory questions in natural language, buyers receive automatically drafted purchase orders, and maintenance teams get early warnings about equipment likely to need attention.

1 October 20266 min read

An engineer working on a laptop beside industrial equipment
Odoo
ERP extended, not replaced
3 areas
Inventory, purchasing, maintenance
90 days
Post-launch hypercare

Client

Global manufacturer (name withheld)

Technologies

  • Odoo ERP API
  • NestJS
  • TypeScript
  • PostgreSQL
  • Large language model
  • Time-series analysis

01 · The challenge

The manufacturer ran Odoo as its central ERP across multiple sites, and the system held rich data on stock, consumption, suppliers and maintenance history. Getting answers out of it, however, required knowing which report to run and how to filter it, so plant managers and planners relied on a small number of power users to prepare figures for them.

Purchasing was largely reactive: buyers checked stock levels manually and raised orders when shortages appeared. Maintenance was mostly scheduled by calendar or triggered by breakdowns, even though the ERP and machine logs contained signals that could point to problems earlier.

02 · The solution

We built an ERP assistant that turns plain-language questions — such as which components are below safety stock at a given site, or how consumption of a material has changed this quarter — into safe, read-only queries against Odoo data. Answers come back as short explanations with the underlying figures, and users only see data their Odoo role allows.

For purchasing, a service combines reorder rules, open orders, lead times and recent consumption trends to draft purchase orders in Odoo for buyer approval. For maintenance, it analyzes work-order history and available machine readings to flag equipment showing patterns that typically come before failures, creating maintenance suggestions for the planning team.

Work followed our four-step delivery model: discovery across planning, purchasing and maintenance teams, design of the assistant and approval screens, agile build validated against historical data, and production launch with 90 days of hypercare. The architecture reflects our ERP development and AI practices on one shared stack.

Inside the project

The work in pictures

A laptop showing analytics dashboards

Consumption trends and reorder rules feed the drafted purchase orders.

A technician welding in a workshop with sparks

Maintenance signals from machines help planners act before a breakdown.

An aerial view of trucks parked at a logistics yard

Purchasing and inbound logistics follow drafted orders rather than last-minute shortages.

Highlights

What made it work

  1. 01

    Natural-language inventory queries

    Planners ask stock and consumption questions in everyday language and get answers drawn directly from live Odoo data.

    An engineer sketching technical drawings at a desk

    Plant managers and planners get answers from Odoo without waiting for a power user.

  2. 02

    Purchase orders drafted for approval

    Reorder logic and demand trends generate draft purchase orders that buyers review and approve inside Odoo.

    A close-up of a circuit board

    Machine readings and work-order history show which equipment needs attention.

  3. 03

    Predictive maintenance suggestions

    Maintenance history and machine readings are analyzed to highlight equipment that may need attention before it breaks down.

    Hands repairing electronic components

    Maintenance suggestions arrive early, before equipment fails.

Before and after

How the work changed

Before

  • Power users prepare figures for planners
  • Buyers raise orders when shortages appear
  • Maintenance follows the calendar or a breakdown

After

  • Anyone asks inventory questions in plain language
  • Draft purchase orders wait for buyer approval
  • Machine signals trigger early maintenance suggestions

Technologies

The stack behind the project

  • Odoo ERP API
  • NestJS
  • TypeScript
  • PostgreSQL
  • Large language model
  • Time-series analysis

Results

What changed

Outcomes are published only once confirmed with the client. They describe this project and are not a guarantee for others.

Measured outcomes for this project are being confirmed with the client and will be published here.

FAQ

About this project

No. The AI layer connects to Odoo through its external API and a small number of custom fields, so standard Odoo upgrades remain manageable. Business rules for purchasing and maintenance live in a separate service that is easier to test and change.

Buyers do. The system drafts purchase orders from reorder rules and forecasts, and a buyer approves, edits or rejects each one. Approval limits decide which drafts need a second sign-off.

The same approach applies to SAP, Oracle, Microsoft Dynamics and custom ERPs with accessible data. See our ERP + AI integration page for the common capabilities.

Planning something similar?

Tell us about your goals. We'll share how we approached comparable projects and what a first release could look like.