name: odoo-18 description: > Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 18 or custom addons—even if user only pastes traceback, mentions addons/ or manifest.py, describes form/list/kanban/XML errors, HTTP controllers, or business rules on models—including building features, fixing bugs, refactoring, or reviewing addon code. globs: "**/*.{py,xml,csv,js,ts}"
Odoo 18 Skill — Master Index
Master index. Read guide from references/ based on task.
Quick Reference
| Topic | File | When to Use |
|---|---|---|
| Actions | references/odoo-18-actions-guide.md |
Create actions, menus, scheduled jobs, server actions |
| API Decorators | references/odoo-18-decorator-guide.md |
@api decorators, compute fields, validation |
| Controllers | references/odoo-18-controller-guide.md |
HTTP endpoints, routes, web controllers |
| Data Files | references/odoo-18-data-guide.md |
XML/CSV data files, records, shortcuts |
| Development | references/odoo-18-development-guide.md |
Create modules, manifest, reports, security, wizards |
| Field Types | references/odoo-18-field-guide.md |
Define model fields, choose field types |
| Manifest | references/odoo-18-manifest-guide.md |
manifest.py config, dependencies, hooks |
| Migration | references/odoo-18-migration-guide.md |
Upgrade modules, data migration, version changes |
| Mixins | references/odoo-18-mixins-guide.md |
mail.thread, activities, email aliases, tracking |
| Model Methods | references/odoo-18-model-guide.md |
ORM queries, CRUD, domain filters |
| OWL Components | references/odoo-18-owl-guide.md |
OWL UI components, hooks, services |
| Performance | references/odoo-18-performance-guide.md |
Optimize queries, fix slow code, prevent N+1 |
| Reports | references/odoo-18-reports-guide.md |
QWeb reports, PDF/HTML, templates, paper formats |
| Security | references/odoo-18-security-guide.md |
Access rights, record rules, field permissions |
| Testing | references/odoo-18-testing-guide.md |
Write tests, mocking, assertions, browser testing |
| Transactions | references/odoo-18-transaction-guide.md |
DB errors, savepoints, UniqueViolation |
| Translation | references/odoo-18-translation-guide.md |
Translations, localization, i18n |
| Views & XML | references/odoo-18-view-guide.md |
XML views, actions, menus, QWeb templates |
File Structure
skills/odoo-18.0/
├── SKILL.md # Master index
└── references/ # Dev guides
├── odoo-18-actions-guide.md
├── odoo-18-controller-guide.md
├── odoo-18-data-guide.md
├── odoo-18-decorator-guide.md
├── odoo-18-development-guide.md
├── odoo-18-field-guide.md
├── odoo-18-manifest-guide.md
├── odoo-18-migration-guide.md
├── odoo-18-mixins-guide.md
├── odoo-18-model-guide.md
├── odoo-18-owl-guide.md
├── odoo-18-performance-guide.md
├── odoo-18-reports-guide.md
├── odoo-18-security-guide.md
├── odoo-18-testing-guide.md
├── odoo-18-transaction-guide.md
├── odoo-18-translation-guide.md
└── odoo-18-view-guide.md
Base Code Reference (Odoo 18)
Based on Odoo 18 source:
odoo/models.py— ORModoo/fields.py— Field typesodoo/api.py— Decoratorsodoo/http.py— HTTP layerodoo/exceptions.py— Exception typesodoo/tools/translate.py— Translation systemodoo/addons/base/models/res_lang.py— Language modeladdons/web/static/src/core/l10n/translation.js— JS translations