odoo-18

community

>

>_unclecatvn/agent-skills/skills/odoo-18.0·commit f822318

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 the user only pastes a 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 for all Odoo 18 development guides. Read the appropriate guide from references/ based on your task.

Quick Reference

TopicFileWhen to Use
Actionsreferences/odoo-18-actions-guide.mdCreating actions, menus, scheduled jobs, server actions
API Decoratorsreferences/odoo-18-decorator-guide.mdUsing @api decorators, compute fields, validation
Controllersreferences/odoo-18-controller-guide.mdWriting HTTP endpoints, routes, web controllers
Data Filesreferences/odoo-18-data-guide.mdXML/CSV data files, records, shortcuts
Developmentreferences/odoo-18-development-guide.mdCreating modules, manifest, reports, security, wizards
Field Typesreferences/odoo-18-field-guide.mdDefining model fields, choosing field types
Manifestreferences/odoo-18-manifest-guide.mdmanifest.py configuration, dependencies, hooks
Migrationreferences/odoo-18-migration-guide.mdUpgrading modules, data migration, version changes
Mixinsreferences/odoo-18-mixins-guide.mdmail.thread, activities, email aliases, tracking
Model Methodsreferences/odoo-18-model-guide.mdWriting ORM queries, CRUD operations, domain filters
OWL Componentsreferences/odoo-18-owl-guide.mdBuilding OWL UI components, hooks, services
Performancereferences/odoo-18-performance-guide.mdOptimizing queries, fixing slow code, preventing N+1
Reportsreferences/odoo-18-reports-guide.mdQWeb reports, PDF/HTML, templates, paper formats
Securityreferences/odoo-18-security-guide.mdAccess rights, record rules, field permissions
Testingreferences/odoo-18-testing-guide.mdWriting tests, mocking, assertions, browser testing
Transactionsreferences/odoo-18-transaction-guide.mdHandling database errors, savepoints, UniqueViolation
Translationreferences/odoo-18-translation-guide.mdAdding translations, localization, i18n
Views & XMLreferences/odoo-18-view-guide.mdWriting XML views, actions, menus, QWeb templates

File Structure

skills/odoo-18.0/
├── SKILL.md                          # This file - master index
└── references/                       # Development 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)

All guides are based on analysis of Odoo 18 source code:

  • odoo/models.py - ORM implementation
  • odoo/fields.py - Field types
  • odoo/api.py - Decorators
  • odoo/http.py - HTTP layer
  • odoo/exceptions.py - Exception types
  • odoo/tools/translate.py - Translation system
  • odoo/addons/base/models/res_lang.py - Language model
  • addons/web/static/src/core/l10n/translation.js - JS translations

External Documentation