Skip to content
TraceNcode
All articles

Odoo ERP · AI

How to Add an AI Chatbot to Odoo ERP (RAG + GPT in 2025)

· Updated · 3 min read

A chatbot on Odoo earns its place when it answers from your documents and records, and passes the conversation to a person when it should. Retrieval-augmented generation is the pattern that keeps those answers tied to a source.

Which questions belong in the bot

Start with questions your team already answers twice a day: order status, delivery dates, how to book leave, which tax applies, and where a policy lives. Questions that post accounting entries, change a credit limit, or approve a purchase are a poor fit for an unsupervised bot. Those stay as Odoo actions with the usual access rights.

How RAG uses your material

The model does not memorise your price list. At question time it retrieves relevant passages, then writes an answer that can cite them. Split approved documents into short chunks with a title and a source link, embed the chunks, and store them in a vector index. On each question, retrieve a handful of passages and instruct the model to answer only from those passages and to say when the material is missing.

Live ERP rows are a separate path. A customer asking where an order is should hit a lookup of their own sale order, not a free-form query across every table. Keep document answers and record lookups apart so a policy paragraph cannot invent a stock quantity.

Put it where the user already works

A website widget suits anonymous product questions. An employee is better served inside Odoo, behind their login, so the assistant respects record rules. Discuss or a helpdesk channel can host the same assistant. The channel changes who the user is. It should not change the rule that the bot sees only what that user may see.

Add actions only after answers are reliable, and only as a step the user confirms: open a ticket, draft a quotation they still send, or jump to the sale order. Silent writes into accounting or inventory are how a demo becomes an incident. Log the question, the passages used, and whether a person took over.

How to tell if it is working

Judge the assistant on resolution and handoff, not on how fluent it sounds. If agents retype the same reply, the documents or the retrieval are wrong. If the bot refuses questions it should know, the chunks are too narrow. Fix that before you change models.

TraceNcode builds this as part of Odoo AI and machine learning services: document retrieval, constrained ERP lookups, and a human handoff. Scope comes from your question list and your document set. If you want a walkthrough, book a consultation.

Frequently Asked Questions

Can an Odoo chatbot read live ERP data?+

Yes, through a constrained lookup of records the signed-in user is already allowed to see, such as their own sale order. It should not run open-ended queries across the database.

Does a RAG chatbot replace the support team?+

No. It answers repeat questions from approved documents and hands the conversation to a person when the material is missing or the user asks for a change.

What should we prepare before a chatbot project?+

A list of the questions you want answered, the documents that contain those answers, and a decision on which actions the bot may only draft for a human to confirm.