wpmoo-org/odoo-skills/odoo-18

Claude Code and agent skill by wpmoo-org/odoo-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when creating, editing, reviewing, testing, or porting Odoo 18.0 addons with official Odoo 18 developer APIs and OCA-compatible conventions.

Install

npx vskill@latest install wpmoo-org/odoo-skills/odoo-18

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as wpmoo-org/odoo-skills/odoo-18.

Odoo 18.0 Addon Development

Use this skill for Odoo 18.0 work. Keep the target branch, manifest version, runtime commands, and source links pinned to 18.0 unless the user explicitly asks for a cross-version port.

First steps

  1. Confirm the addon repository branch is 18.0 or that the task explicitly

targets Odoo 18.0.

  1. Inspect the addon manifest and touched files before editing.
  2. Prefer official Odoo 18.0 documentation and the odoo/odoo 18.0 branch

for API behavior. Use OCA sources only for OCA conventions.

  1. If the work is a migration, port, or compatibility fix, read

references/porting-upgrade.md before changing code.

Load references as needed

  • references/official-sources.md: source map for official Odoo and OCA URLs.
  • references/module-anatomy.md: addon structure, manifests, data ordering.
  • references/backend-orm.md: models, fields, computed fields, constraints,

CRUD overrides, command tuples, ORM safety.

  • references/security-data.md: ACLs, record rules, groups, XML/CSV data,

external IDs, noupdate records, controller security.

  • references/ui-frontend.md: views, actions, menus, reports, assets,

JavaScript, Owl, QWeb, website and controllers.

  • references/testing-quality-oca.md: Odoo tests, JS tests, OCA linting,

README fragments, review checklist.

  • references/porting-upgrade.md: upgrade scripts, upgrade utils, forward-port

rules, 18.0-specific compatibility checks.

Odoo 18.0 defaults

  • Manifest versions must start with 18.0, for example 18.0.1.0.0.
  • List views use the list root element; tree is the previous name.
  • Do not introduce legacy attrs or states XML modifiers. Use direct view

expressions such as invisible, readonly, and required.

  • SQL constraints use _sql_constraints; Python business constraints use

@api.constrains.

  • Keep public model methods defensive: public methods can be called through RPC,

so validate records, arguments, access rights, and state before side effects.

OCA-compatible development rules

  • Keep one Odoo major version per branch.
  • Keep every addon in a top-level addon directory.
  • Use small, composable addons with minimal explicit dependencies.
  • Community addons must not depend on private/pro/customer addons.
  • Use LGPL-3 or AGPL-3 according to repository policy.
  • Follow OCA manifest versioning: 18.0.x.y.z.
  • Keep generated README.rst output separate from source fragments when a repo

uses OCA README tooling.

Local helper

Run the bundled quick check against an addon or addon repository:

bash
node skills/odoo-18/scripts/validate-addon.mjs /path/to/addons-or-addon

This is a fast heuristic check only. It does not replace installing/updating the addon in an Odoo 18.0 database.

Verification

Use the repository's configured checks first. Common OCA-compatible order:

bash
pre-commit run -a
odoo-bin -d test_db --addons-path=/path/to/addons -i addon_name --test-enable --stop-after-init
odoo-bin -d test_db --addons-path=/path/to/addons -u addon_name --test-enable --stop-after-init

When WPMoo tooling is present, use the current command standard:

bash
npx @wpmoo/toolkit doctor
./moo lint
./moo resetdb
./moo pot

Done criteria

  • Manifest version, license, dependencies, data order, and installability match

Odoo 18.0.

  • Security files grant the minimum required access and record rules are tested.
  • Views use Odoo 18.0 syntax and avoid legacy modifiers.
  • Python, XML, JS, and translation changes pass configured linters.
  • The addon installs or updates cleanly in an 18.0 database with relevant tests.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
3

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks
  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wpmoo-org/odoo-skills/odoo-18/badge)](https://verified-skill.com/skills/wpmoo-org/odoo-skills/odoo-18)

Something wrong with this skill or its page? Tell us.