To ensure consistency and clarity in our Git workflow, follow these rules for commit messages and branch names.
When creating commit messages, include an appropriate tag at the beginning of the message.
| Name | Code | Description |
|---|
| #!/bin/bash | |
| set -e | |
| # Load environment variables | |
| if [ -f .env ]; then | |
| export $(grep -v '^#' .env | xargs) | |
| fi | |
| # Parameters |
This document extends the official coding guidelines of Odoo and the OCA community. In case of conflicting instructions, this document takes precedence. The order of guideline application is as follows:
Odoo Guidelines → OCA Guidelines → This Document
To ensure scalability, maintainability, and consistency in Odoo projects, follow these guidelines when creating and organizing project-specific modules.
Every project should include a dedicated base module. This module serves as the foundation for automating updates across all project modules. By including this base module as a dependency in all other project modules, you can: