/odoo-skills:odoo-code-tracerfrom odoo-skills
Traces Odoo execution flow from entry points through controllers, model methods, overrides, computes, security checks, and side effects. Useful before implementation, during debugging, impact analysis, or code review.
Ships in odoo-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to map how Odoo code actually executes. Trace only what you can verify in code. If a path is uncertain, mark it as uncertain and explain what evidence is missing.
Identify the starting point:
Detect the target Odoo version. If a version-specific reference exists, consult it before tracing version-sensitive behavior:
odoo-17.0odoo-18.0odoo-19.0odoo-20.0If $ODOO_SOURCE is set, inspect local framework code for controller dispatch, ORM behavior, decorators, web client actions, assets, tests, and version-specific execution details.
super() calls through parent implementations.@api.depends, @api.constrains, @api.onchange, inverse methods, @api.ondelete, create/write/unlink overrides.search, browse, read, read_group, create, write, unlink, direct SQL, savepoints, locks.sudo() boundaries.sudo() that bypasses ownership, company, portal, or public-user boundaries.| Entry Type | Where To Look | Follow Next |
|---|---|---|
| Controller | controllers/*.py, @http.route | request env, auth, params, model calls |
| Button | XML <button name="..." type="object"> | model method, overrides, returned action |
| Cron | XML/data ir.cron record | model method, batching, side effects |
| Server action | XML/data ir.actions.server | model, code block, target records |
| Compute | field compute="...", @api.depends | dependencies, store behavior, recompute path |
| Onchange | @api.onchange, form view fields | UI-only behavior, persisted equivalent |
| Constraint | @api.constrains, SQL constraints | validation path and exception behavior |
| Report | ir.actions.report, QWeb template | access, render context, attachments |
| OWL/RPC | static/src, services, registries | backend route/model method |
## Code Execution Trace
### Entry Point
- Type: Controller / Button / Cron / Server action / Compute / Onchange / Constraint / Report / OWL / Other
- Location: `path/to/file.py:XX`
- Trigger: user action, scheduler, external request, field access, module update, etc.
### Flow
```text
ENTRY: `path/to/file.xml:XX` button/action/route
-> `models/foo.py:42` Foo.action_do_thing()
-> `models/foo.py:63` Foo._prepare_values()
-> `models/bar.py:18` Bar.create()
-> side effect: message_post()
RETURN: `ir.actions.act_window`
```
### Detailed Trace
- `path/to/file.py:XX` method name, decorators, inputs, key branches.
- `path/to/parent.py:XX` parent implementation reached via `super()`.
- `path/to/data.xml:XX` cron/action/report/XML ID involved.
### Database Operations
- `search`: model/domain/count if known.
- `create/write/unlink`: model/count if known.
- Direct SQL/savepoints/locks: state exact location.
- N+1 risk: yes/no/uncertain with reason.
### Security Notes
- Auth mode, ACL/record-rule expectations, groups, company behavior, `sudo()` boundaries.
### Side Effects
- Emails, chatter, activities, attachments, reports, external calls, queue jobs, bus events.
### Uncertain Paths
- State what could not be proven and what file/source would resolve it.
super() explicitly.odoo-code-review.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (mart337i/odoo-skills) — no native marketplace selected
npx claudepluginhub p/mart337i-odoo-skills21 skills in this plugin
/grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when the user wants to stress-test a plan, get grilled on their design, or mentions "grill me" outside an Odoo-specific context./grill-with-docsGrilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when the user wants to stress-test a plan against their project's language and documented decisions./improve-codebase-architectureFind deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable./odooOdoo engineering workflows for addon development, codebase exploration, debugging, architecture/refactor review, manifest/docs sync, and routing to migration work. Use when the user mentions Odoo, addons, modules, manifests, models, XML views, security CSVs, record rules, Odoo shell, OWL/QWeb/assets, or when an Odoo codebase is detected./odoo-17.0Odoo 17 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 17 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews./odoo-18.0Odoo 18 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 18 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.Other plugins' skills for the same job