AdvaMCP: your AI assistant inside Odoo, you approve every change
Claude, ChatGPT or Grok read what you can read, follow your company's procedures and prepare changes that wait for your approval. Free, for Odoo 12.
Watch the full 43-second demo, with sound
Connecting takes a minute
In your assistant, add a connector with your Odoo address followed by /adva_mcp. A login page opens: you sign in to Odoo as usual and allow the connection. From then on the assistant works as you. It sees what you can see in Odoo and nothing more.
Nothing is saved without you
When the assistant wants to create a record, change one, attach a file or write in the chatter, it prepares a draft and gives you a link. The page shows each field as it is now and as it would be, and you approve or reject it. A message that would reach a customer or a colleague always waits for you, and that includes a private message to a colleague in Discuss.
For routine work, an administrator can let the assistant save changes on its own. It then has to say why, and the reason goes into the log. An assistant can also be limited to reading.
Choose what each person's assistant can open
Data profiles set which parts of Odoo an assistant may use: only contacts, everything except payroll, or everything the person already has access to. Passwords, keys and technical settings stay out in every case, and an administrator can hide any other model or field from all assistants.
Teach it how your company works
Write a procedure once in Odoo, for example how you prepare a quote from a customer's email. Every assistant connected to your Odoo finds it and follows it, and people can start it from their assistant's list of commands. A procedure can be for everyone, for some teams or only for you. The people you choose can also write procedures by asking their assistant.
See what it did
The call log lists each request in plain words: who asked, what the assistant read or prepared, and whether it worked. When a change was saved directly, the log also shows what it set off, such as emails queued or other records updated.
Find out why
"Why can't Ana see this order?", "Where does this error come from?", "What does the Confirm button do here?" For the groups you choose, the assistant answers from the modules installed in your Odoo, your own custom ones included: which access or rule is in the way, which module fills a field, what a button sets off. It explains without showing the code.
Setup
- Install the module.
- In Settings > Users, give the people who will use it the MCP User access.
- If you want limits, create data profiles in MCP > Data Profiles and pick the defaults in MCP > Settings.
- Each person adds the connector in their assistant and signs in.
For Odoo 12, Community and Enterprise, with nothing extra to install on the server. Your Odoo needs to be reachable over HTTPS.
To disconnect an assistant, open MCP > Connected Assistants in Odoo and delete it.
On another version of Odoo, or need a procedure or a connection made for your company? Write to josegustavo@outlook.com.
Developers can add their own tools in a separate module, and those tools follow the same profiles and approvals.
AdvaMCP
This module lets AI assistants such as Claude, ChatGPT and Grok work in your Odoo as the person who connects them. The assistant reads what that person can read, and prepares changes that the person approves in Odoo before anything is saved.
Install and give access
- Install the module from the Apps menu.
- Open Settings, Users, choose a user and give them the MCP User access. Only these users can connect an assistant.
- Optionally, give MCP Skill Editor to the people who will write the company's procedures (skills), and MCP Administrator to the people who manage profiles, connected assistants, settings and the call log.
A new menu, MCP, appears for these users.
Connect an assistant
Your Odoo must be reachable over HTTPS from the internet for assistants that run in the cloud.
- In your assistant's settings, add a custom connector (also called an MCP server or remote server).
- Use your Odoo address followed by /adva_mcp, for example https://mycompany.odoo.com/adva_mcp.
- The assistant opens an Odoo page. Sign in as usual if asked, check that the page shows your name, and choose Allow.
That is all: the assistant now works as you. If the page says your user may not connect assistants, ask an administrator for the MCP User access. If it shows someone else's name, use Use another account.
Assistants connect only by signing in this way (Odoo 12 has no API keys).
To disconnect an assistant, open MCP, Connected Assistants, select it and delete it. Each user sees their own assistants there; MCP Administrators see everyone's. Logins also expire on their own after the number of days set in MCP, Settings (30 by default), and the assistant must then sign in again.
What the assistant can do
- Find and read data: list what it can read, browse any model like its list screen (rows, counts, groups with totals), open one record with its chatter, and open links you paste from your Odoo.
- Create and change records: always through what the record's form lets you change. Archiving and restoring work like the Archive button.
- Files: list a record's files, download them, print a report as PDF, and attach new files. Files travel through temporary links, so large files work too.
- Chatter: write messages, internal notes and activities on a record.
- Direct messages: write privately to a colleague in Discuss.
- Skills: follow your company's procedures (see below).
- Diagnose: for the groups you choose, explain how Odoo behaves (see below).
Everything goes through the user's own access rights and record rules, then through the limits of their data profile.
Approving changes
By default every change is a draft. The assistant gives you a link; the page shows each field as it is now and as it would be, and you choose Approve or Reject. Nothing is saved before you approve.
Some things always wait for you, whatever the settings: messages that notify people (a message in a chatter, a direct message to a colleague) and activities assigned to someone else.
If the record changed after the assistant read it, the page says so next to the field. If your access changed in the meantime, the approval is checked again and may be refused.
Data profiles
A data profile limits what each person's assistant can reach. Create profiles in MCP, Data Profiles, and add users to them. Users without a profile get the default profile chosen in MCP, Settings.
Models
- Only the listed models: the assistant reads only those. Links to other records still show their name.
- All except the listed models: everything the user can read, minus the list.
- All models: everything the user can read.
Changes
- Read only: the assistant cannot change anything.
- Always as a draft: every change waits for approval (default).
- The assistant decides: the assistant may save routine changes directly. It must then explain why, and the reason is kept in the call log.
A profile only narrows what Odoo already allows. Passwords, keys, technical settings and data reserved to administrators are never served. In MCP, Settings you can also hide any other model or field from every assistant.
Skills
A skill is a procedure written once in Odoo, for example "how we prepare a quote from a customer's email". Every assistant finds the skills meant for its user, follows them, and offers them as commands in assistants that support it.
- Open MCP, Skills. Each skill has a name, a short "When to use" sentence (the assistant picks skills from it), the steps, and optional documents for longer parts.
- Who sees it: everyone, some groups, or only its owner.
- Models it uses and Changes data: a user whose profile cannot reach those models, or who may only read, does not get the skill.
Only MCP Skill Editors create and change skills, in Odoo or by asking their assistant. Over MCP every user, administrators included, gets only the skills meant for them.
Diagnose
The diagnose tool explains how your Odoo behaves from the code of the installed modules, without showing the code:
- why a user cannot see a record (an access right, a record rule by name, or a limit of the MCP such as the data profile);
- who fills or computes a field, and what a method or a button does (by name: the methods it calls, the fields it writes, the records it creates or looks up, and the errors it raises with their message);
- where an error message comes from;
- which access rights and rules apply to a model.
Choose who gets it in MCP, Settings, Diagnose tool: groups. It comes set to MCP Administrator. Leave it empty to turn it off.
Call log
MCP, Call Log lists every request in plain words: who asked, what the assistant read or prepared, the result, and how long it took. For changes saved directly it also shows the reason the assistant gave and everything the change set off, such as emails queued or other records updated. Old lines are deleted after the number of days set in MCP, Settings (90 by default).
Settings
All in MCP, Settings:
- Default data profile and Default changes: for users without a profile.
- Login lasts: days before an assistant must sign in again.
- Self-registration of AI clients: on, assistants register themselves the first time they connect; off, an administrator adds each one in MCP, AI Clients.
- Never served: models and fields hidden from every assistant.
- Keep the call log: days before old lines are deleted.
- Diagnose tool: groups: who gets the diagnose tool.
Common questions
The assistant says a model or field is not available. It is outside the user's data profile, hidden in MCP, Settings, or reserved to administrators. An administrator can change the profile or the settings.
A change is refused although the user can edit the record in Odoo. The assistant follows the form: a field that is hidden or read-only on the form for that record (for example on a confirmed order) cannot be changed over MCP either.
The approval link says the draft belongs to someone else. Approval links only open for the person who asked. Sign in to Odoo with that user and open the link again.
A report cannot be printed. Some reports read data the user cannot see. The assistant says which access is missing.
Two assistants or two users see different data. Each one works as its own user, with that user's rights and data profile.
Developers can add their own tools in a module that depends on this one; those tools follow the same profiles and approvals.
Please log in to comment on this module