A program for those who want to become true experts in Odoo debugging. To quickly find and fix issues, understand the internal architecture of the system, and confidently solve complex problems at the Senior/Tech Lead level.
What You’ll Gain
- An understanding of Odoo’s internal mechanics.
- Confident use of debugging tools at all levels (Python, ORM, PostgreSQL, frontend, profiling).
- Skills for rapid issue detection and troubleshooting in Local/Dev/Production environments.
Course Modules
1. Python/Odoo — Basic Level
2 lessons
Master the essential debugging tools and mechanisms to understand how programs run and how to quickly identify issues.
- Classical debugging in Python and Odoo:
callstack,params,traceback. - The internal request loop — how Odoo processes an HTTP request from start to finish.
- ORM internals —
fields.__get__,__set__,compute/inverse/depends/onchange/related, client triggers, prefetching, caching.
2. Python/Odoo — Advanced Level
4 lessons
Learn the internal mechanics of request handling and ORM behavior to understand how the system works and how to catch any issue. Understand how Odoo’s worker processes operate and how to identify concurrency issues.
- Methods of continuous development via debugger.
- Connecting
debugpyin Docker/WSL/SSH, live-debugging on remote servers. - Odoo
env,context,cache. - Types of worker processes,
geventspecifics, concurrency pitfalls. - Additions to previous modules for multi-threaded systems.
3. Odoo Logs
2 lessons
Learn how to read and configure logs: what matters, what doesn’t, and how to search and parse logs without losing context.
- Analyzing Odoo logs (
Werkzeug,psycopg2, etc.) and logging levels. PostgreSQL logs. - Principles of effective logging — what to write, when, and how.
4. PostgreSQL
2 lessons
Understand how queries behave at the DBMS level and how to identify “heavy” operations.
- Database in action:
EXPLAIN, process activity, slow queries, locks. - ORM-level SQL issues — diagnostics and solutions. Fast methods to detect bottlenecks.
5. Frontend/bash Debugging
2 lesson
How to use debugging and not get lost in frontend and .sh scripts.
- Chrome DevTools: network, latency, UI errors. Diagnosing JavaScript ↔ backend interactions in Odoo.
- Key CLI commands: environment diagnostics, cron, Odoo services. Log inspection from the terminal — essential knowledge for every developer.
6. Python Profiling/Metrics
2 lessons
A powerful debugging tool that lets you see the application from the profile’s perspective. Very effective for understanding execution flow in Python/Odoo.
- Python/Odoo profiling tools. Methods for finding bottlenecks and a practical set of fast fixes.
7. Final Module: A Complete Debugging Strategy
2 lessons
Integrate everything into a single workflow — from diagnostics to preventing issues.
- Combining all tools into a unified debugging strategy. Step-by-step problem-source identification.
- Common production scenarios and practical hacks to prevent issues early in development.
Contacts
Email: aghanimoff@gmail.com
Telegram: @aghanimoff
LinkedIn: Valerii Sharlai