# Master Odoo — Version-Aware Odoo Developer (17–20)

> Get correct Odoo 17, 18, 19 and 20 code for the exact version you work on — and catch outdated patterns before they break your module.

Master Odoo — Version-Aware Odoo Developer (17–20) is a free AI agent skill on Agensi by ZANGO Boubacar Sidiki, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [ZANGO Boubacar Sidiki](https://www.agensi.io/creators/dr-spook)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Uses: 2
- Version: 1.1
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/master-odoo-version-aware-odoo-developer-17-20
- Tags: code-review, ai-agents, odoo, odoo-17, odoo-18, odoo-19, odoo-20, python

## About this skill

### Stop AI assistants from writing Odoo code for the wrong version

Odoo changes its conventions at every release, and most AI assistants mix them up. They write
`<tree>` on 18.0, `name_get()` on 18.0, `_sql_constraints` on 19.0 — where Odoo **silently skips the
constraint** — or `get_param()` on 20.0, which installs fine and **crashes on first use**.

**Master Odoo** makes your agent write code for **one target version at a time** — 17.0, 18.0, 19.0
or 20.0 — with conventions checked against Odoo's own source code.

#### What you get
- **The right version, every time**: the skill reads the target version from your module's manifest
  before writing anything, and never mixes the conventions of two versions.
- **Complete, consistent modules**: models and fields, XML views, security, data files, scheduled
  actions, controllers, QWeb reports, mixins, translations, OWL components, website themes and tests.
- **Secure by default**: access rights always included, record rules, safe SQL, escaped QWeb output,
  CSRF-aware controllers.
- **A built-in code check**: 77 verified rules scan your module for its version and point to the
  exact file, line and fix for every outdated pattern.
- **No invented APIs**: when something is uncertain for a version, the agent says so instead of
  guessing.

#### What changes most — and what the skill handles
| | 17.0 | 18.0 | 19.0 | 20.0 |
|---|---|---|---|---|
| List view | `<tree>` | `<list>` | `<list>` | `<list>` |
| SQL constraints | `_sql_constraints` | `_sql_constraints` | `models.Constraint` | `models.Constraint` |
| Access rights | `ir.model.access.csv` | same | same (`group_ids`) | `ir.access.csv` |
| System parameters | `get_param` | `get_param` | `get_param` | `get_str` / `get_int`… |
| Kanban card / chatter | `kanban-box` / `oe_chatter` | `card` / `<chatter/>` | same | same |
| OWL | 2 | 2 | 2 | 3 |

#### Verified, not guessed
Every version-specific fact was checked on the official `odoo/odoo` source code of each version, and
each version was exercised on real Odoo installations.

#### What's inside
- `SKILL.md` — the protocol your agent follows.
- `deltas/` — one file per version (17.0 → 20.0), authoritative over the general guides.
- `reference/` — 16 focused guides: ORM, fields, views, security, manifest, decorators, controllers,
  data, actions, reports, mixins, tests, transactions, translation, performance, OWL.
- `scripts/check_module.py` — read-only code check (Python 3.8+, standard library only).

#### Works with
Any agent that supports the open SKILL.md standard: Claude Code, Codex CLI, Cursor, Gemini CLI and
more. The code check needs an agent that can run shell commands; without it, the agent still applies
every rule from the guides.

#### Not included
Migrating a module from one version to another, and server setup or deployment.

#### Why this beats prompting it yourself
A general-purpose agent mixes the conventions it has seen across Odoo versions: it writes `<tree>`
on 18.0, `_sql_constraints` on 19.0 or `get_param()` on 20.0 — code that looks right and fails
silently or at load time. This skill pins your agent to the version in your manifest, gives it one
verified rule set per version, and checks the result before you install it.

#### Known limitations
- Odoo 17.0 to 20.0 only; older versions are refused rather than guessed.
- No migration between versions, and no server setup or deployment.
- The code check works on patterns: it can, rarely, flag a line that is correct in context — each
  finding explains why, so you can decide.
- No Enterprise source code is included; Enterprise-only views and modules are not covered.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Master Odoo — Version-Aware Odoo Developer (17–20) skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which Odoo versions are supported?

17.0, 18.0, 19.0 and 20.0. The skill reads the target version from your module's manifest.

### Does it migrate a module from one version to another?

No. It writes and checks code for one version. Migration is a different job and is out of scope.

### Does it work with Odoo Enterprise?

Yes for your own modules: the conventions are the same. It contains no Enterprise source code.

### Do I need Docker or a running Odoo?

No. The skill works on your files. The checker only needs Python.

### How were the rules verified?

Each version-specific fact was checked on the official odoo/odoo source code of the series, and the series were exercised on real Odoo installations.

### Can it be wrong?

It is built to say "I'm not sure for this version" rather than guess. If you find a wrong rule, tell the author: it gets fixed and verified.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
