PluginBench
Skill
Review
Audit score 70

odoo-19

unclecatvn/agent-skills

Comprehensive Odoo 19 development knowledge base with 18 specialized guides for Python, XML, and frontend code.

What is odoo-19?

Odoo 19 Skill provides structured reference guides covering the full Odoo 19 development stack: ORM models, API decorators, controllers, views, reports, security, testing, and performance optimization. Use it when writing, reviewing, or debugging Odoo 19 modules, or looking up API patterns and best practices.

  • 18 specialized reference guides covering Actions, Controllers, Data files, API Decorators, Field types, Manifest configuration, Mixins, ORM Model methods, OWL components, Performance optimization, QWeb Reports, Security/ACL, Testing, Transactions, Translations, and XML Views
  • Covers Python ORM operations including CRUD, domain filters, recordsets, and CamelCase model naming conventions
  • Guides for HTTP routing, endpoints, and authentication in Odoo controllers
  • QWeb report generation with PDF/HTML output, paper formats, and barcodes
  • Security implementation including record rules, field permissions, and privilege-based groups
  • Performance optimization patterns including N+1 prevention, batch operations, and query optimization

How to install odoo-19

npx skills add https://github.com/unclecatvn/agent-skills --skill odoo-19
Claude Code
Cursor
Windsurf
Cline

How to use odoo-19

  1. 1.Identify your development task (e.g., writing ORM code, creating a controller, building a report)
  2. 2.Locate the relevant guide in the master index table (e.g., Model Methods for ORM, Controllers for HTTP endpoints)
  3. 3.Open the corresponding reference guide from the references/ directory
  4. 4.Review the Quick Reference section and applicable code examples
  5. 5.Apply the coding conventions and patterns shown in the guide to your code
  6. 6.For complex tasks, cross-reference related guides (e.g., Performance guide when optimizing queries)

Use cases

Good for
  • Writing and reviewing Odoo 19 Python module code with proper ORM patterns and decorators
  • Creating HTTP controllers and web endpoints with correct routing and authentication
  • Building QWeb reports and PDF templates with custom paper formats
  • Implementing security rules, ACLs, and field-level permissions
  • Optimizing slow queries and preventing N+1 database issues
Who it's for
  • Odoo 19 backend developers writing Python modules and ORM code
  • Odoo frontend developers building OWL components and web interfaces
  • QA engineers writing tests and validating Odoo functionality
  • DevOps engineers managing Odoo module deployments and migrations
  • Technical leads reviewing Odoo code for performance and security

odoo-19 FAQ

What Odoo version does this skill cover?

This skill is specifically for Odoo 19 development. It covers Odoo 19 source code patterns, APIs, and best practices.

Does this skill cover JavaScript/TypeScript frontend development?

Yes, it includes the OWL Components guide for building frontend components with hooks and services, plus CSS/SCSS asset authoring for Odoo addons.

Can I use this skill for Odoo 17 or 18 modules?

This skill is optimized for Odoo 19. While some patterns may be similar across versions, API changes and best practices differ; refer to version-specific documentation for older versions.

Does this skill help with performance issues?

Yes, the Performance guide covers N+1 prevention, batch operations, query optimization, and _read_group patterns. Use it when debugging slow modules.

Where do I find code examples?

Each of the 18 reference guides in the references/ directory contains code examples, conventions, and patterns specific to that topic.

Full instructions (SKILL.md)

Source of truth, from unclecatvn/agent-skills.


name: odoo-19 description: >- Odoo 19 development knowledge base with 18 specialized guides covering Actions (ir.actions., cron jobs, server actions), Controllers (HTTP routing, endpoints, auth types), Data files (XML/CSV records, shortcuts, noupdate), API Decorators (@api.depends, @api.constrains, @api.ondelete, @api.onchange, @api.model, @api.private), SQL Constraints (models.Constraint replacing _sql_constraints), Database Indexes (models.Index), Module development (manifest, wizards, reports), Field types (Char, Text, Monetary, relational fields), Manifest configuration (manifest.py, dependencies, asset bundles), Mixins (mail.thread, mail.activity.mixin, mail.alias.mixin, utm.mixin), ORM Model methods (search, CRUD, domain filters, recordsets, CamelCase model naming), Migration scripts (pre/post/end hooks, data migration), OWL frontend components (hooks, services, lifecycle), Performance optimization (N+1 prevention, batch ops, _read_group), QWeb Reports (PDF/HTML, paper formats, barcodes, t-out), Security/ACL (record rules, field permissions, privilege-based groups, @api.private), Testing (TransactionCase, HttpCase, mocking, query count assertions), Transactions (savepoints, UniqueViolation, serialization failures), Translations (i18n, PO files, translatable fields), XML Views (list/form/search, kanban card templates, xpath inheritance, QWeb templates). Use when writing, reviewing, or debugging any Odoo 19 Python or XML code, creating or modifying modules, fixing performance issues, or looking up Odoo 19 API patterns and best practices. Includes CSS/SCSS asset authoring and review for Odoo addons. globs: "**/.{py,xml,csv,js,ts,css,scss}"

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

Coding Conventions

Before writing code, run the odoo-workflow skill if it is installed (trace the real source, Context Brief with file:line, definition of done); install it alongside this pack.

Read references/api-highlights.md before writing code and apply its Quick review checks: the ❌ items are what not to use in Odoo 19.

Apply the convention section in the guide you open. Odoo 19 runtime behavior, then existing stable-addon style, takes precedence; keep diffs focused.

  • Module naming, assets, JavaScript, CSS, and SCSS: development guide.
  • XML formatting and IDs: data, actions, reports, security, and views guides.
  • Python, recordsets, transactions, and translations: model, field, decorator, performance, transaction, and translation guides.

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/orm/models.py - ORM implementation
  • odoo/orm/fields.py - Field types
  • odoo/orm/decorators.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