odoo-development
Habilidad para desarrollar soluciones empresariales en Odoo siguiendo arquitectura modular, buenas prácticas oficiales, testing y CI/CD.
When & Why to Use This Skill
This Claude skill provides comprehensive expertise in Odoo ERP development, focusing on modular architecture, Python ORM modeling, and official best practices. It streamlines the creation of custom business applications, from UI design with XML/QWeb to automated testing and CI/CD deployment, ensuring scalable and maintainable enterprise solutions.
Use Cases
- Custom Module Development: Building bespoke Odoo modules to automate specific business processes such as inventory tracking, HR management, or library systems.
- Automated Testing & QA: Implementing TransactionCase unit tests and @tagged decorators to ensure code reliability and stability during Odoo version upgrades.
- UI/UX Customization: Designing and customizing Odoo views (Forms, Lists, Kanban) and QWeb reports to improve data visualization and user workflows.
- CI/CD Pipeline Integration: Configuring professional deployment workflows using Odoo.sh, Docker, or Git to facilitate rapid and reliable software delivery.
| name | odoo-development |
|---|---|
| description | Habilidad para desarrollar soluciones empresariales en Odoo siguiendo arquitectura modular, buenas prácticas oficiales, testing y CI/CD. |
| - https | //github.com/odoo/odoo |
Descripción técnica
Odoo es un ERP modular basado en Python. Cada módulo encapsula modelos, vistas, seguridad, datos y pruebas.
Estructura recomendada de un módulo
my_module/ models/ views/ security/ data/ reports/ tests/ manifest.py
Buenas prácticas clave
- Modelos
- Clases en
PascalCase _nameensnake.case
- Clases en
- ORM
- Evitar SQL directo si no es necesario
- No usar
cr.commiten lógica ni tests
- Vistas
- XML claro y desacoplado
- QWeb para reportes
- Testing
TransactionCase- Tests en
tests/test_*.py
- CI/CD
- Odoo.sh o pipelines propios
- Arquitectura
- MVC: Modelos (Python), Vistas (XML/QWeb), Controladores (HTTP)
El desarrollo profesional en Odoo requiere alinearse estrictamente con las guías oficiales para garantizar mantenibilidad y compatibilidad futura.