analyze_odoo_python_model
Detect structural errors, missing attributes, decorator misconfigurations, and common mistakes in Odoo Python model files using AST analysis.
Instructions
Analyze an Odoo Python model file for structural errors, missing attributes, decorator misconfigurations, and common mistakes using AST.
Args: python_path: Absolute or relative path to the Python file. addon_path: Optional path to the containing addon directory to enforce sandboxed file access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addon_path | No | ||
| python_path | Yes |