unclecatvn/agent-skills

odoo-17

Odoo 17 development reference for Python models and ORM (search, domain, readgroup, 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, tes…

Ver código-fonte

Como usar

  1. Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
  2. Consulte no original as ferramentas, credenciais e ambientes necessários.
  3. Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/unclecatvn/agent-skills --skill odoo-17

Antes de começar

  • A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
  • Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

Odoo 17 Skill - Master Index

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

Quick Reference

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

Coding Conventions

Apply the relevant convention section in the guide you open. Conventions are advisory: preserve the style of an existing stable addon and keep diffs focused. When guidance conflicts, prefer Odoo 17 runtime/source behavior, then the surrounding addon style, then the convention.

  • Module layout and asset placement: development and controller guides.
  • XML formatting and external IDs: data, view, action, report, and security guides.
  • Python naming, imports, recordsets, transactions, and translations: model,

field, decorator, performance, transaction, and translation guides.

  • JavaScript and CSS/SCSS: development guide.

File Structure

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

Base Code Reference (Odoo 17)

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

Relacionados por tarefa

do mesmo repositório

Mais Skills

Todos os Skills
unclecatvn
Comunidade

odoo-19

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 sqlconstraints), Database Indexes (models.Index), Module development (manifest, wizards, reports), Field types (Char, Text, Mone

Instalações / 1h
1
GitHub Stars
151
Atualizado
22 de out.
unclecatvn
Comunidade

odoo-18

Odoo 18 development reference for Python models and ORM (search, domain, readgroup, 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

Instalações / 1h
1
GitHub Stars
148
Atualizado
15 de out.
unclecatvn
Comunidade

odoo-16

Odoo 16 development reference for Python models and ORM (search, domain, readgroup, 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 16 or custom addons—even if the user only pastes a traceback, mentions addons/ or manifest.py, describes form/tree/kanban/XML errors, HTTP controllers, or business rules on

Instalações / 1h
1
GitHub Stars
148
Atualizado
15 de out.