model_info
Retrieve complete Odoo model metadata—fields, inheritance, methods—directly from your project source without needing a database connection.
Instructions
Get full metadata for an Odoo model: fields, inheritance, methods.
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 |