unclecatvn/agent-skills / skills/odoo-16.0
odoo-16
UnverifiedOdoo 16 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 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 models—including building features, fixing bugs, refactoring, or reviewing addon code. Includes CSS/SCSS asset authoring and review for Odoo addons.
AGENTS.md
View on GitHub# Odoo 16 Documentation - AI Agents Setup
Setup guide for using the Odoo 16 pack with AI coding assistants.
## Quick Start
```bash
npx skills add unclecatvn/agent-skills
```
Use `skills/odoo-16.0/SKILL.md` as the entry point, then open the matching guide in `references/`.
## Pack Layout
```
skills/odoo-16.0/
|-- SKILL.md
|-- CLAUDE.md
|-- AGENTS.md
`-- references/
```
## Which Guides Matter Most
- `references/odoo-16-development-guide.md` for module naming and file layout.
- `references/odoo-16-view-guide.md` for XML views, inherited views, chatter, kanban.
- `references/odoo-16-model-guide.md` for ORM, CRUD, domains, recordsets.
- `references/odoo-16-field-guide.md` for field definitions and `group_operator=`.
- `references/odoo-16-decorator-guide.md` for `@api.depends`, `@api.ondelete`, `@api.model_create_multi`.
- `references/api-highlights.md` for version-distinguishing rules that differ from 17+.
## Key Odoo 16 Conventions
| Concern | Odoo 16 | Newer-version change |
|---------|---------|----------------------|
| List view tag | `<tree>` | `<list>` in 18+ |
| Dynamic attributes | Use `attrs="{...}"` / `states="..."` for client-side dynamic behavior; direct `invisible="..."` is static/context-time only | Direct-expression modifiers become record-reactive in 17+ |
| Aggregation parameter | `group_operator=` | `aggregator=` in 18+ |
| Kanban template | `t-name="kanban-box"` | `t-name="card"` in 19 |
| Chatter in form view | Explicit `<div class="oe_chatter"> ... </div>` | `<chatter/>` shortcut in 18+ |
## Agent Guidance
- Prefer the `attrs` / `states` patterns documented in the 16 view guide for client-side dynamic modifiers; direct `invisible="..."` is valid only for static/context-time visibility.
- Match the existing addon style when editing 16 code, but check `api-highlights.md` before mass-rewriting XML.
- Treat `skills/odoo-16.0/references/api-highlights.md` as the authority when 16 and 17 guidance diverge.
- 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 "Wrong:" items are what not to use in Odoo 16.
- Apply the Coding Conventions section in the guide you open; Odoo 16 runtime behavior and the local stable-file style take precedence when they conflict.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |