unclecatvn

odoo-18

Odoo 18 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), 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, prefetch), 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), Security/ACL (record rules, field permissions, multi-company), Testing (TransactionCase, HttpCase, mocking, query count assertions), Transactions (savepoints, UniqueViolation, serialization failures), Translations (i18n, PO files, translatable fields), XML Views (list/form/search, xpath inheritance, QWeb templates). Use when writing, reviewing, or debugging any Odoo 18 Python or XML code, creating or modifying modules, fixing performance issues, or looking up Odoo 18 API patterns and best practices.

unclecatvn 81 38 Updated 3mo ago

Resources

3
GitHub

Install

npx skillscat add unclecatvn/agent-skills/odoo-18

Install via the SkillsCat registry.

SKILL.md

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

Topic File When to Use
Actions references/odoo-18-actions-guide.md Creating actions, menus, scheduled jobs, server actions
API Decorators references/odoo-18-decorator-guide.md Using @api decorators, compute fields, validation
Controllers references/odoo-18-controller-guide.md Writing 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 Creating modules, manifest, reports, security, wizards
Field Types references/odoo-18-field-guide.md Defining model fields, choosing field types
Manifest references/odoo-18-manifest-guide.md manifest.py configuration, dependencies, hooks
Migration references/odoo-18-migration-guide.md Upgrading 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 Writing ORM queries, CRUD operations, domain filters
OWL Components references/odoo-18-owl-guide.md Building OWL UI components, hooks, services
Performance references/odoo-18-performance-guide.md Optimizing queries, fixing slow code, preventing 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 Writing tests, mocking, assertions, browser testing
Transactions references/odoo-18-transaction-guide.md Handling database errors, savepoints, UniqueViolation
Translation references/odoo-18-translation-guide.md Adding translations, localization, i18n
Views & XML references/odoo-18-view-guide.md Writing 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