odoo-development-skill

Guide Odoo developers through module scaffolding, testing, Docker setup, and deployment.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/LiuDaZheng/odoo-knowledge-base --skill odoo-development-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: odoo-development-skill
Source: https://github.com/LiuDaZheng/odoo-knowledge-base/tree/main/src/skills/odoo-development-skill
Command: npx skills add https://github.com/LiuDaZheng/odoo-knowledge-base --skill odoo-development-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Many developers spend repeated time scaffolding modules, writing manifests, creating models and views, configuring Docker environments, and troubleshooting tests and runtime errors; this Skill consolidates best practices and actionable steps to reduce that friction and speed delivery.

Core Features & Use Cases

  • Module scaffolding & manifest guidance: clear directory structure and recommended manifest fields for a minimal and production-ready module.
  • Testing patterns: TransactionCase, Form helpers, test tagging, and guidance for running tests in Docker or CI.
  • Docker deployment & ops: sample docker-compose, odoo.conf recommendations, and production tuning notes.
  • Debugging & logging: logging configuration, pdb/ipdb usage, VS Code/PyCharm attach instructions, and common troubleshooting checks.
  • Use Case: A developer needs to scaffold a new sales integration module, add core models and views, write unit tests, run them in a Dockerized environment, and debug failing view or permission errors.

Quick Start

Scaffold a new module named my_module, add a simple model and manifest, create a TransactionCase unit test, and run the test suite in the provided Docker compose environment.

Frequently Asked Questions about odoo-development-skill

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

FAQPage Schema
How do I scaffold a new Odoo module and configure the manifest?

To scaffold an Odoo module, create a standard directory structure and populate the manifest with required fields. This provides a minimal, production-ready module foundation for adding models and views.

What is the best way to write and run unit tests for Odoo modules in Docker?

Write unit tests using TransactionCase and Form helpers, then run them within a Docker environment. This approach validates model logic and view behaviors while leveraging containerized isolation.

How do I configure docker-compose and odoo.conf for Odoo deployment?

Configuring docker-compose and odoo.conf involves setting database connections, custom addon paths, and production tuning parameters. This creates a stable, containerized runtime environment for your modules.

Why are my Odoo views or permissions failing, and how do I debug them?

Debug Odoo view or permission failures by enabling logging and using pdb or ipdb. Attaching via VS Code or PyCharm helps identify runtime errors and troubleshoot common module issues.

Does this Odoo development workflow apply to CI environments?

Yes, the testing patterns support running test suites in CI environments. By applying test tagging and Docker execution commands, you can automate validation for continuous integration pipelines.