🩺 Odoo Error Doctor
How it worksRun Odoo normally. When a traceback appears in the terminal, Odoo Error Doctor catches it, sends it to your chosen AI, and shows a precise explanation in the sidebar — in under 2 seconds. Quick Start1. Install the extensionFrom the VS Code Marketplace (or press 2. Get a free API keyGroq is recommended — it's free and responds in ~1 second: 3. Configure in VS Code Settings (
|
| Setting | Default | Description |
|---|---|---|
odooDoctor.apiKey |
"" |
Your API key |
odooDoctor.apiBaseUrl |
https://api.groq.com/openai/v1 |
Any OpenAI-compatible base URL |
odooDoctor.model |
llama-3.3-70b-versatile |
Model name |
4. Run Odoo
python odoo-bin -d mydb
Errors are detected and explained automatically.
Supported Providers
Any provider with an OpenAI-compatible /chat/completions endpoint works.
| Provider | Base URL | Free tier |
|---|---|---|
| Groq ⭐ | https://api.groq.com/openai/v1 |
✅ Yes |
| OpenAI | https://api.openai.com/v1 |
❌ Paid |
| Ollama (local) | http://localhost:11434/v1 |
✅ Free (local) |
| Gemini | https://generativelanguage.googleapis.com/v1beta/openai |
✅ Free tier |
| Together AI | https://api.together.xyz/v1 |
✅ Free credits |
| Mistral | https://api.mistral.ai/v1 |
✅ Free tier |
Packaging for VS Code Marketplace
# Install vsce
npm install -g @vscode/vsce
# Compile
npm run compile
# Package → creates odoo-error-doctor-1.0.0.vsix
vsce package
# Publish (needs publisher account at marketplace.visualstudio.com)
vsce publish
License
MIT