Centralized documentation and development standards for AI-powered Odoo development. This repository provides consistent coding standards, guidelines, and AI assistant configurations that can be shared across multiple Odoo projects (15+), designed primarily for AI agents with human developer support.
- 🤖 AI Agent Optimized - Pre-configured for AI assistants (Augment, Cursor, etc.)
- 📚 Comprehensive Documentation - Complete coding standards and guidelines
- 🔗 One-Line Setup - Instant integration with any Odoo project
- 🔄 Auto-Update - Keep standards current across all projects
- 🏗️ Template System - Ready-to-use AI and development configurations
Install in current directory (default docs path: /opt/odoo-docs
):
curl -sSL https://raw.githubusercontent.com/solutionsunity/odoo-docs/main/install.sh | bash
Install with custom paths:
curl -sSL https://raw.githubusercontent.com/solutionsunity/odoo-docs/main/install.sh | bash -s /path/to/project /custom/docs/path
What the installer does:
- 📥 Clones/updates the odoo-docs repository (default:
/opt/odoo-docs
) - 📋 Copies configuration templates (
.augment-guidelines
,dev-config.json
) - 🔗 Creates symlinks to documentation (
docs/
) - 📝 Updates
.gitignore
to ignore symlinks and private configs - ✅ Ready for AI-powered development!
If you prefer manual setup:
# 1. Clone the repository
git clone https://github.com/solutionsunity/odoo-docs.git /opt/odoo-docs
# 2. Navigate to your project
cd /path/to/your/odoo-project
# 3. Copy templates for private configuration
cp /opt/odoo-docs/templates/.augment-guidelines.template .augment-guidelines
cp /opt/odoo-docs/templates/dev-config.json.template dev-config.json
# 4. Create documentation symlink
ln -sf /opt/odoo-docs/docs docs
# 5. Update .gitignore
echo -e "\n# Odoo Documentation\ndocs\n.augment-guidelines\ndev-config.json" >> .gitignore
odoo-docs/
├── docs/ # 📚 Development standards and guidelines
│ ├── git.md # Git commit standards
│ ├── code_standard.md # Backend coding standards
│ ├── frontend.md # Frontend/portal standards
│ ├── owl.md # OWL component guidelines
│ ├── migration_guideline.md # Migration procedures
│ ├── email_standard.md # Email template standards
│ ├── module_icon.png # Standard module icon
│ └── sync.sh # Synchronization script
├── templates/ # 🔧 Configuration templates
│ ├── .augment-guidelines.template
│ └── dev-config.json.template
├── .augment-guidelines # 🤖 AI assistant configuration (ignored)
├── dev-config.json # ⚙️ Development configuration (ignored)
└── README.md # This file
Document | Description | Purpose |
---|---|---|
Git Standards | Commit message format and workflow | Consistent git history |
Code Standards | Backend development guidelines (15+) | Clean, maintainable code |
Frontend Standards | Portal and frontend development | Consistent UI/UX |
OWL Guidelines | OWL component development | Modern JS framework |
Migration Guide | Version migration procedures | Smooth upgrades |
Email Standards | Email template guidelines | Professional communication |
This repository is optimized for AI agents like Augment, Cursor, GitHub Copilot, and others:
.augment-guidelines
- Contains AI-specific instructions and context- Comprehensive docs - All standards in easily parseable markdown
- Auto-sync - AI can run
./docs/sync.sh
to get latest updates - Template system - AI can copy and customize configurations
- Session start: Run
./docs/sync.sh
to ensure latest updates - Before coding: Reference
./docs/
for current guidelines - During development: Follow standards in documentation
- Before commits: Check
./docs/git.md
for commit format
Keep your documentation and standards current:
# From any project with symlinked docs
./docs/sync.sh
This script automatically:
- Pulls the latest changes from this repository
- Updates all symlinked documentation across your projects
- Ensures you're always using the current standards
Use the provided templates to set up your development environment:
.augment-guidelines.template
- AI assistant configurationdev-config.json.template
- Development environment settings
Copy and customize these templates for your specific needs.
- Always symlink - Don't copy files, use symlinks to stay updated
- Sync regularly - Run
./docs/sync.sh
before starting work - Follow standards - Check documentation before coding
- Contribute back - Improve standards for everyone
We welcome contributions to improve these standards:
- Fork this repository
- Create a feature branch
- Make your improvements
- Submit a pull request
MIT License - Feel free to use and adapt for your projects.