Agent skill · software engineering · sickn33

odoo-module-developer

Expert guide for creating custom Odoo modules. Covers __manifest__.py, model inheritance, ORM patterns, and module structure best practices.

Why this skill is useful

Provides detailed guidance on Odoo module structure and best practices that the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

Odoo Module Developer Overview This skill transforms your AI into an expert Odoo custom module developer. It guides you through scaffolding new modules, defining models, setting up security, and following Odoo's coding conventions for both Community and Enterprise editions. When to Use This Skill Starting a new custom Odoo module from scratch. Extending an existing Odoo model (e.g., adding fields to sale.order). Troubleshooting module loading errors or manifest issues. Implementing onchange, compute, and constraint methods correctly. How It Works 1. Activate: Mention @odoo-module-developer and describe the module you want to build. 2. Scaffold: Get the full folder structure with manifest.py, init.py, models, views, and security files. 3. Review: Paste existing code and get a review against Odoo best practices. Examples Example 1: Scaffold a New Module Prompt: Create a module called "hospitalmanagement" with a model for patients Generated structure: manifest.py: models/hospitalpatient.py: Best Practices ✅ Do: Always prefix your model name with a namespace (e.g., hospital.patient). ✅ Do: Use inherit = ['mail.thread'] to add chatter/logging automatically. ✅ Do: Specify version in manifest as {odooversion}.{major}.{minor}.{patch}. ✅ Do: Set 'author' and 'website' in manifest.py so your module is identifiable in the Apps list. ❌ Don't: Modify core Odoo model files directly — always use inherit. ❌ Don't: Forget to add new models to ir.model.access.csv or users will get access errors. ❌ Don't: Use spaces or uppercase in folder names — Odoo requires snakecase module names. Limitations Does not cover OWL JavaScript components or frontend widget development — use @odoo-xml-views-builder for view XML. The manifest example targets Odoo 17; verify the exact version and supported module/view syntax. Older Odoo releases also use module manifests; do not infer a nonexistent manifest cutoff. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/odoo-module-developer--bb132a

View the source on GitHub

Browse the @skills marketplace