model_graph
Retrieve the inheritance graph of an Odoo model to reveal extending modules, mixin parents, and child models, without needing a database connection.
Instructions
Get the inheritance graph for a model: extending modules, mixin parents, children.
Args: project_path: Path to the Odoo project root model_name: Dotted model name, e.g. 'sale.order' addons_paths: Optional explicit addons paths (auto-detected if omitted) exclude_modules: Optional list of module names to skip loading
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | ||
| addons_paths | No | ||
| project_path | Yes | ||
| exclude_modules | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |