Methodologygeneric

odoo-19

Methodology skill.md.

unclecatvn/agent-skills
View source

Install

npx skills add https://github.com/unclecatvn/agent-skills --skill odoo-19

Use with your agent

ClaudeCursorOpenAIGemini

Install the odoo-19 skill, then use it as build context. Run: npx skills add https://github.com/unclecatvn/agent-skills --skill odoo-19. Then read the installed skill.md and follow its guidance to build or refactor my project.

Odoo 19 Skill - Master Index

Master index for all Odoo 19 development guides. Read the appropriate guide from references/ based on your task.

Quick Reference

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

File Structure

skills/odoo-19.0/
├── SKILL.md                          # This file - master index
└── references/                       # Development guides
    ├── odoo-19-actions-guide.md
    ├── odoo-19-controller-guide.md
    ├── odoo-19-data-guide.md
    ├── odoo-19-decorator-guide.md
    ├── odoo-19-development-guide.md
    ├── odoo-19-field-guide.md
    ├── odoo-19-manifest-guide.md
    ├── odoo-19-migration-guide.md
    ├── odoo-19-mixins-guide.md
    ├── odoo-19-model-guide.md
    ├── odoo-19-owl-guide.md
    ├── odoo-19-performance-guide.md
    ├── odoo-19-reports-guide.md
    ├── odoo-19-security-guide.md
    ├── odoo-19-testing-guide.md
    ├── odoo-19-transaction-guide.md
    ├── odoo-19-translation-guide.md
    └── odoo-19-view-guide.md

Base Code Reference (Odoo 19)

All guides are based on analysis of Odoo 19 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