Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

odoo-app-automator

БесплатноБез исполняемых скриптовНе проверен

AI agent for automated Odoo module creation, deployment, and third-party integration. Scaffolds custom modules, generates Odoo Studio configurations, sets up…

jgtolentinoот jgtolentino★ 22 звезды на GitHub18 установок в других каталогах

Об этом скилле

Odoo App Automator

AI-powered automation for creating, deploying, and managing Odoo modules and custom applications. This skill enables AI agents to generate production-ready Odoo modules, configure Studio customizations, set up containerized deployments, and integrate third-party services.

Purpose

Automate the entire lifecycle of Odoo custom module development:

  • Module Scaffolding: Generate complete Odoo module structures with models, views, security, and data
  • Studio Integration: Programmatically configure Odoo Studio customizations
  • Container Deployment: Set up Odoo.sh containers with dependencies and configurations
  • Third-Party Integration: Connect external APIs, payment providers, and business services
  • Upgrade Management: Handle version upgrades and module migrations

When to Use This Skill

Use this skill when the user requests:

  • "Create a custom Odoo module for [purpose]"
  • "Build an Odoo app for [business process]"
  • "Automate [workflow] in Odoo"
  • "Deploy a custom Odoo module"
  • "Integrate [third-party service] with Odoo"
  • "Set up Odoo Studio customizations"
  • "Migrate custom module from Odoo [version] to [version]"

Core Capabilities

1. Module Scaffolding

Generate complete Odoo module structures following best practices:

Module Structure:

custom_module/
├── __init__.py
├── __manifest__.py
├── models/
│   ├── __init__.py
│   └── custom_model.py
├── views/
│   ├── custom_views.xml
│   └── menu_views.xml
├── security/
│   ├── ir.model.access.csv
│   └── security_groups.xml
├── data/
│   └── default_data.xml
├── static/
│   ├── description/
│   │   ├── index.html
│   │   └── icon.png
│   └── src/
│       ├── js/
│       ├── css/
│       └── xml/
├── wizards/
├── reports/
├── controllers/
└── README.md

Key Files to Generate:

  1. __manifest__.py: Module metadata
  2. models/*.py: Business logic and database models
  3. views/*.xml: UI definitions (form, tree, kanban, search)
  4. security/ir.model.access.csv: Access control rules
  5. data/*.xml: Default data and demo data
  6. README.md: Documentation

2. Odoo Studio Automation

Configure Studio customizations programmatically:

Studio Capabilities:

  • Add/modify fields to existing models
  • Create custom views (form, list, kanban, pivot, graph)
  • Define automated actions and workflows
  • Set up filters and default values
  • Configure access rights and security rules
  • Create reports and dashboards

Workflow:

  1. Export Studio customizations as modules
  2. Version control Studio-created modules
  3. Deploy to production via git
  4. Update Studio configs via XML data files

3. Container Setup (Odoo.sh)

Configure Odoo.sh containers with custom requirements:

Directory Structure:

/home/odoo/
├── src/
│   ├── odoo/          # Odoo Community
│   ├── enterprise/    # Odoo Enterprise
│   ├── themes/        # Themes
│   └── user/          # Custom modules
├── data/
│   ├── filestore/     # Attachments
│   └── sessions/      # User sessions
└── logs/
    ├── odoo.log
    ├── install.log
    └── pip.log

Dependencies Management:

Create requirements.txt in repository root:

# Python dependencies
pandas>=1.5.0
requests>=2.28.0
pillow>=9.0.0
paddleocr>=2.6.0
supabase>=1.0.0

Custom Commands:

# Install module
odoo-bin -i custom_module --stop-after-init

# Update module
odoo-bin -u custom_module --stop-after-init

# Run tests
odoo-bin -i custom_module --test-enable --log-level=test --stop-after-init

# Odoo shell
odoo-bin shell

4. Third-Party Integration

Integrate external services into Odoo:

Common Integrations:

  • Payment Providers: Stripe, PayPal, Paymongo (PH)
  • Shipping: FedEx, DHL, LBC (PH)
  • Accounting: QuickBooks, Xero
  • CRM: Salesforce, HubSpot
  • Communication: Slack, Microsoft Teams
  • Storage: Google Drive, Dropbox, Supabase
  • AI/ML: OpenAI, Anthropic Claude, PaddleOCR

Integration Pattern:

  1. Create API Wrapper Model:
class ExternalService(models.Model):
    _name = 'external.service'
    
    api_key = fields.Char(string='API Key')
    base_url = fields.Char(string='Base URL')
    
    def call_api(self, endpoint, method='GET', data=None):
        url = f"{self.base_url}/{endpoint}"
        headers = {'Authorization': f'Bearer {self.api_key}'}
        response = requests.request(method, url, headers=headers, json=data)
        return response.json()
  1. Add Configuration UI
  2. Implement Webhook Handlers
  3. Set Up Scheduled Actions

5. Upgrade Management

Handle version migrations for custom modules:

Upgrade Workflow:

  1. Request test upgrade from Odoo.sh or upgrade.odoo.com
  2. Update custom module code for new version
  3. Test upgraded database thoroughly
  4. Deploy to production

Module Version Compatibility:

# __manifest__.py
{
    'name': 'Custom Module',
    'version': '19.0.1.0.0',  # Format: {odoo_version}.{major}.
Полный SKILL.md на GitHub

Установить odoo-app-automator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdexamples/bir_tax_filing_module.mdexamples/travel_expense_module.mdodoo-app-automator-finalreference/odoo_sh_deployment.mdreference/odoo_studio_automation.md

FAQ

Что делает скилл odoo-app-automator?

AI agent for automated Odoo module creation, deployment, and third-party integration. Scaffolds custom modules, generates Odoo Studio configurations, sets up containers, and automates app deployment following Odoo 19 best practices.

Как установить скилл odoo-app-automator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл odoo-app-automator запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить odoo-app-automator с