AgentStack
SKILL verified MIT Self-run

Odoo Service

skill-ahmed-lakosha-odoo-plugins-odoo-service · by ahmed-lakosha

|

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-ahmed-lakosha-odoo-plugins-odoo-service

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Odoo Service? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Odoo Service Skill

Capabilities

This skill manages the complete Odoo server lifecycle:

  • Server: Start, stop, restart, status check (Windows/Linux/macOS)
  • Environment: Auto-detect venv/Docker/bare Python; initialize new environments
  • Database: Backup, restore, create, drop, list, reset admin password
  • Docker: Generate Dockerfiles/compose, manage containers, exec into shells
  • IDE: Generate VSCode and PyCharm configurations with debug support
  • Module: Install, update, scaffold, refresh module list
  • Readiness: Production quality gate (tests, security, translations, manifest)

Environment Detection

Priority order: Docker > venv > bare Python.

| Signal | Environment | |--------|-------------| | docker-compose.yml or Dockerfile present | Docker | | .venv/, venv/, or env/ with Python executable | Local venv | | None of the above | Bare Python |

Override with flags: --docker, --venv, --env bare.

Odoo Version Matrix

| Version | Python | Longpolling Key | Extra Deps | |---------|--------|----------------|------------| | 14 | 3.7 - 3.10 | longpolling_port | - | | 15 | 3.8 - 3.11 | longpolling_port | - | | 16 | 3.9 - 3.12 | gevent_port | - | | 17 | 3.10 - 3.13 | gevent_port | - | | 18 | 3.10 - 3.13 | gevent_port | cbor2 | | 19 | 3.10 - 3.13 | gevent_port | cbor2, python-magic |

Quick Reference

Server

# Start (dev mode)
python -m odoo -c conf/PROJECT.conf --dev=all

# Start (production)
python -m odoo -c conf/PROJECT.conf --workers=4

# Stop (Windows)
FOR /F "tokens=5" %P IN ('netstat -ano ^| findstr :8069') DO taskkill /PID %P /F

# Stop (Linux/Mac)
lsof -ti:8069 | xargs kill -9

Module Operations

# Install
python -m odoo -c conf/PROJECT.conf -d DB -i MODULE --stop-after-init

# Update (most common after code changes)
python -m odoo -c conf/PROJECT.conf -d DB -u MODULE --stop-after-init

# Refresh module list (before installing NEW modules)
python -m odoo -c conf/PROJECT.conf -d DB --update-list

Database

# Backup (compressed custom format - recommended)
pg_dump -U odoo -h localhost -Fc DBNAME -f backups/DBNAME_YYYYMMDD.dump

# Restore
createdb -U odoo NEWDB && pg_restore -U odoo -d NEWDB backup.dump

# Reset admin password
psql -U odoo -d DBNAME -c "UPDATE res_users SET password='newpass' WHERE login='admin';"

Docker

docker-compose up -d              # Start
docker-compose down               # Stop
docker-compose up -d --build      # Rebuild and start
docker-compose exec odoo bash     # Shell into container

Scripts

Located in odoo-service/scripts/ — all standalone, stdlib-only (optional psutil):

| Script | Purpose | |--------|---------| | server_manager.py | Start/stop/restart/status, module install/update | | env_initializer.py | Venv creation, PostgreSQL check, config generation | | db_manager.py | Backup/restore/create/drop, admin password reset | | docker_manager.py | Dockerfile/compose generation, container lifecycle | | ide_configurator.py | VSCode/PyCharm config generation |

Config File Format

[options]
addons_path = odoo/addons,projects/PROJECTNAME
admin_passwd = 123
db_host = localhost
db_port = 5432
db_user = odoo
db_password = odoo
dbfilter = PROJECTNAME.*
http_port = 8069
gevent_port = 8072
workers = 0

Naming convention: conf/{PROJECT}{VERSION}.conf (e.g., conf/myproject17.conf).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.