| name | odoo_17_dependency_context |
| description | Capture current Odoo 17.0 modules, customizations, and dependency trees. REQUIRES LIVE ODOO CONNECTION. This skill enables the Odoo 17 environment and MCP server to gather live data on installed modules, dependency graphs, and model extensions via XML-RPC. Use this to maintain context on the existing Odoo 17 setup, ensuring that new features or changes are consistent with the current architecture. |
| version | 17.0.0 |
| author | VPCS Team |
| category | dependency_analysis |
| odoo_versions | ["17.0"] |
| tags | ["odoo","dependencies","modules","analysis","customizations"] |
| allowed-tools | ["mcp-odoo:*"] |
Goal
Capture current Odoo 17.0 modules, customizations, and dependency trees to drive reuse and avoid regressions.
Standard Addons Reference Path
- Local:
<your-workspace>/17.0/addons/
- Upstream: github.com/odoo/odoo/tree/17.0/addons
- Key modules to check: base, web, sale, account, stock, mrp, crm, hr, project, purchase
What to record
1. Installed Modules
- List from
ir_module_module DB table; flag standard vs custom.
- Check manifest.py
depends for dependency chain.
- Note version compatibility: if upgrading from 16.0 → 17.0, check breaking changes.
2. Standard Addons in Use
- Map each installed standard module to upstream features.
- Check
/addons/<module>/__manifest__.py (depends list, features).
- Cross-reference against local 17.0 path to understand available models/views.
3. Custom Module Dependencies
- For each custom module: list all
depends (standard + custom).
- Verify all dependencies exist and are installed.
- Build dependency graph: custom_app → [standard_modules, custom_modules].
4. Customizations/Overrides
- Models: inheritance chains, monkey patches, field additions.
- Views: XPath modifications, new views, attrs changes.
- Security: custom record rules, group modifications.
- Cron/jobs, integrations, controllers, reports.
5. Data & Migrations
- Reference data (sequences, templates, demo records).
- Pending data migrations (if upgrading versions).
- Links to external systems (APIs, webhooks).
6. Known Constraints
- Performance hot spots (heavy domains, N+1 queries).
- Upgrade blockers (breaking API changes, removed modules).
- 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
mcp_get_relationships: Map model inheritance and relations
mcp_validate_field: Validate field names exist on a model
Protocol: XML-RPC (Odoo 17.0)