odoo-coding-guidelines

Standardize Odoo module structure, XML, Python, JavaScript, and CSS/SCSS conventions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ab22593k/odoo-coding-guidelines-skill --skill odoo-coding-guidelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: odoo-coding-guidelines
Source: https://github.com/ab22593k/odoo-coding-guidelines-skill/tree/main/odoo-coding-guidelines
Command: npx skills add https://github.com/ab22593k/odoo-coding-guidelines-skill --skill odoo-coding-guidelines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Odoo development teams struggle with inconsistent coding practices across modules, leading to difficult maintenance and onboarding.

Core Features & Use Cases

  • Centralized guidelines for module structure, XML, Python, JavaScript, and CSS/SCSS conventions.
  • Clear naming, file organization, and translation practices to improve readability and reduce defects.
  • Use during module development, code reviews, and refactoring to ensure consistency across codebases.

Quick Start

Start a new Odoo module following the recommended skeleton and conventions in this guide, and run a linter to enforce style rules.

Frequently Asked Questions about odoo-coding-guidelines

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

FAQPage Schema
How do I structure a new Odoo module to follow standard coding guidelines?

Standard Odoo module coding guidelines define a required directory layout, frontmatter, and naming conventions for Python, JavaScript, XML, and CSS/SCSS files. Following this skeleton ensures maintainability and readability across projects.

What are the best practices for translation and naming conventions in Odoo Python and XML files?

Odoo coding guidelines codify specific translation practices and naming conventions for Python and XML files to improve readability and reduce defects. Applying these practices during development ensures consistent module structure across codebases.

Can I use these Odoo coding standards during code reviews and refactoring?

Yes, Odoo coding standards are explicitly applicable to code reviews and refactoring. They provide centralized rules for JavaScript, Python, and XML conventions to enforce consistency and reduce onboarding difficulties for development teams.

Does the Odoo module structure guide cover JavaScript and CSS/SCSS conventions?

Yes, the Odoo module structure guide covers JavaScript and CSS/SCSS conventions alongside Python and XML. It standardizes file organization and coding practices across all core technologies used in Odoo application development.

Why do we need standardized coding guidelines for Odoo module development?

Standardized coding guidelines for Odoo module development solve the problem of inconsistent coding practices across modules. Consistent module structure, naming, and translation practices prevent difficult maintenance and streamline team onboarding.