| name | odoo_18_dependency_context |
| description | Capture current Odoo 18.0 modules, customizations, and dependency trees. REQUIRES LIVE ODOO CONNECTION. This skill triggers the dynamic startup of the Odoo 18 environment and the corresponding MCP server to perform live analysis of installed modules, inherited models, and view structures using XML-RPC. Ideal for ensuring compatibility and identifying dependencies in existing Odoo 18 installations. |
| version | 18.0.0 |
| author | VPCS Team |
| category | dependency_analysis |
| odoo_versions | ["18.0"] |
| tags | ["odoo","dependencies","modules","analysis","customizations"] |
| allowed-tools | ["mcp-odoo:*"] |
Goal
Capture current Odoo 18.0 modules, customizations, and dependency trees to maximize reuse and avoid regressions.
Standard Addons Reference Path
- Local:
<your-workspace>/18.0/addons/
- Upstream: github.com/odoo/odoo/tree/18.0/addons
- Key modules to check: base, web, sale, account, stock, mrp, crm, hr, project, purchase, web_unseen
What to record
1. Installed Modules
- List from
ir_module_module DB table; separate standard from custom.
- Parse manifest.py
depends for dependency chains.
- Note migration status: if upgrading 17.0 → 18.0, check for API changes (list vs tree, attrs vs direct, etc.).
2. Standard Addons in Use
- Map each installed standard module to upstream features/models.
- Check
/addons/<module>/__manifest__.py (depends, assets, data).
- Cross-reference against local 18.0 path to understand available models/views/controllers.
3. Custom Module Dependencies
- For each custom module: list all
depends (standard + custom).
- Validate all dependencies exist and are installed (no orphaned modules).
- Build dependency graph: custom_app → [standard_modules, custom_modules].
4. Customizations/Overrides (18.0 differences)
- Models: inheritance chains, field extensions, compute/store changes.
- Views: migration from
<tree> → <list>? attrs → direct attributes?
- Security: record rules, group ACLs.
- Cron/jobs, integrations (webhooks, external APIs), controllers.
5. Data & Migrations
- Reference data: sequences, templates, demo data.
- Pending migrations (17.0 → 18.0 schema/data changes).
- External system links (APIs, webhooks, ETL).
6. Known Constraints
- Performance hot spots (heavy domains, N+1 queries, missing indexes).
- Upgrade blockers (tree vs list views, attrs parsing, constraint changes).
- Tech debt, known defects, workarounds.
Live Context (MCP)
When MCP server is available (MCP_ENABLED=true), use live Odoo queries:
mcp_search_models: Discover installed models via XML-RPC
mcp_get_fields: Retrieve field definitions for any model