odoo-perf-audit

Analyze Odoo Python, XML, and QWeb code for performance bottlenecks.

7|4|Updated May 19, 2026
One-click install
npx skills add https://github.com/Viindoo/odoo-mcp-client --skill odoo-perf-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: odoo-perf-audit
Source: https://github.com/Viindoo/odoo-mcp-client/tree/main/plugins/odoo-ai-agents/skills/odoo-perf-audit
Command: npx skills add https://github.com/Viindoo/odoo-mcp-client --skill odoo-perf-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill performs a static analysis of Odoo code to identify performance bottlenecks and potential improvements.

Core Features & Use Cases

  • Performance Analysis: Identifies N+1 queries, missing prefetches, unindexed fields, and other common performance issues.
  • Code Audit: Reports findings with file:line, estimated impact, and remediation steps.
  • Use Case: When a user wants to optimize slow Odoo reports or list views by analyzing the underlying code.

Quick Start

Run the 'odoo-perf-audit' skill on the Odoo module 'sale' to get a performance analysis report.

Frequently Asked Questions about odoo-perf-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect N+1 queries and performance bottlenecks in Odoo source code?

Static analysis of Odoo source code detects performance bottlenecks like N+1 queries by analyzing Python, XML, and QWeb files to identify missing prefetches and unindexed fields.

Why does my slow Odoo report or list view need a static code audit?

A static code audit pinpoints the underlying Python and XML issues causing slow Odoo reports or list views, generating a report with file:line numbers, estimated impact, and remediation steps.

Do I need an Odoo Semantic MCP server to run a performance analysis?

Yes, performing static analysis on Odoo code requires access to the Odoo Semantic MCP server to accurately evaluate the source code and identify performance issues.

What's the best way to find missing prefetches and unindexed fields in Odoo modules?

Running an automated performance analysis on Odoo modules is the best way to find missing prefetches and unindexed fields, providing specific remediation steps for each issue found.

Can I analyze both Python and XML code to optimize Odoo performance?

Yes, static performance analysis evaluates both Python and XML code, along with QWeb, to detect common performance issues and generate actionable remediation reports.

What limitations should I expect when running static analysis on Odoo code?

Static analysis identifies code-level performance bottlenecks like N+1 queries and unindexed fields but requires access to the Odoo Semantic MCP server and does not profile runtime database load.