odoo-module-developer
What it does
This assistant helps create and organize custom modules for Odoo, a business management system. It guides you in setting up the file structure, defining data, and following programming best practices.
When to use it
- βWhen you need to create a new module from scratch in Odoo.
- βWhen wanting to add new features or fields to an existing module.
- βTo fix errors related to a module's structure or configuration.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-module-developer/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate a module named 'inventory_control' with a model for products.β
5 new skills a week. 1 minute to read.
How it works
You describe the module you want to build. The assistant generates the basic folder and file structure, including the main configuration file (__manifest__.py) and an example file for defining data (models).
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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, andconstraintmethods correctly.
How It Works
- Activate: Mention
@odoo-module-developerand describe the module you want to build. - Scaffold: Get the full folder structure with
__manifest__.py,__init__.py, models, views, and security files. - Review: Paste existing code and get a review against Odoo best practices.
Examples
Example 1: Scaffold a New Module
Prompt: Create a module called "hospital_management" with a model for patients
Generated structure:
hospital_management/
βββ __manifest__.py
βββ __init__.py
βββ models/
β βββ __init__.py
β βββ hospital_patient.py
βββ views/
β βββ hospital_patient_views.xml
βββ security/
β βββ ir.model.access.csv
β βββ security.xml
βββ data/
__manifest__.py:
{
'name': 'Hospital Management',
'version': '17.0.1.0.0',
'category': 'Healthcare',
'depends': ['base', 'mail'],
'data': [
'security/security.xml',
'security/ir.model.access.csv',
'views/hospital_patient_views.xml',
],
'installable': True,
'license': 'LGPL-3',
}
models/hospital_patient.py:
from odoo import models, fields, api
class HospitalPatient(models.Model):
_name = 'hospital.patient'
_description = 'Hospital Patient'
_inherit = ['mail.thread', 'mail.activity.mixin']
name = fields.Char(string='Patient Name', required=True, tracking=True)
birth_date = fields.Date(string='Birth Date')
doctor_id = fields.Many2one('res.users', string='Assigned Doctor')
state = fields.Selection([
('draft', 'New'),
('confirmed', 'Confirmed'),
('done', 'Done'),
], default='draft', tracking=True)
Best Practices
- β
Do: Always prefix your model
_namewith a namespace (e.g.,hospital.patient). - β
Do: Use
_inherit = ['mail.thread']to add chatter/logging automatically. - β
Do: Specify
versionin manifest as{odoo_version}.{major}.{minor}.{patch}. - β
Do: Set
'author'and'website'in__manifest__.pyso 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.csvor users will get access errors. - β Don't: Use spaces or uppercase in folder names β Odoo requires snake_case module names.
Limitations
- Does not cover OWL JavaScript components or frontend widget development β use
@odoo-xml-views-builderfor 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.
- Does not cover multi-company or multi-website configuration; those require additional model fields (
company_id,website_id). - Does not generate automated test files β use
@odoo-automated-testsfor that.
The displayed tree is a scaffold, not a complete installable module: supply imports, XML views, named groups, ACLs and record rules before claiming it works. Avoid default broad patient-data access; chatter/tracking can disclose sensitive values, so select fields and followers deliberately. Test installation, multi-record compute/constraints and unauthorized access in a disposable database, never through an unrequested production module upgrade.
FAQ
What is an Odoo module?
A module is a code package that adds functionality to the Odoo system, such as sales, inventory, accounting management, etc.
What is the __manifest__.py file?
It's an essential configuration file for any Odoo module. It contains information like the module's name, version, dependencies, and which data files it uses.
What does 'model inheritance' mean?
It's a technique to extend or modify the functionality of an existing model (data table) in Odoo without altering the original code. You can add new fields, methods, or rules.
Details
Original description by the author
Expert guide for creating custom Odoo modules. Covers __manifest__.py, model inheritance, ORM patterns, and module structure best practices.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5344
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.