Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Migrating from odoo-helper-scripts

This page guides existing odoo-helper-scripts users through migrating to Odood.

What stays the same

The project directory layout is identicalbackups/, conf/, custom_addons/, data/, downloads/, odoo/, repositories/, venv/ are all in the same places. Your existing Odoo installation, databases, and cloned repositories do not need to move.

The only structural change is the project config file: odoo-helper.conf (Bash variable exports) is replaced by odood.yml (YAML).

Migrating an existing project

Odood can read an existing odoo-helper.conf and generate odood.yml automatically:

# In the root of your existing odoo-helper project
odood discover odoo-helper

# For a system-wide (production) installation managed as root
sudo odood discover odoo-helper --system

This reads odoo-helper.conf, creates odood.yml in the same directory, and sets up the virtualenv wrapper that Odood needs. Your existing Odoo installation and data are untouched.

Command reference

Most commands map directly. The main differences are:

  • Repository management moved under odood repo
  • Virtualenv utilities moved under odood venv
  • CI / dev tooling moved under odood repo

Repository management

odoo-helper-scriptsodood
odoo-helper fetch --repo URLodood repo add URL
odoo-helper fetch --github user/repoodood repo add --github user/repo
odoo-helper fetch --oca repoodood repo add --oca repo
odoo-helper link .odood addons link .
odoo-helper addons update-listodood addons update-list

Server management

odoo-helper-scriptsodood
odoo-helper server startodood server start
odoo-helper server stopodood server stop
odoo-helper server restartodood server restart
odoo-helper server logodood server log
odoo-helper server psodood server status

Addon management

odoo-helper-scriptsodood
odoo-helper addons installodood addons install
odoo-helper addons updateodood addons update
odoo-helper addons uninstallodood addons uninstall

Database management

odoo-helper-scriptsodood
odoo-helper db list / lsdodood db list
odoo-helper db createodood db create
odoo-helper db dropodood db drop
odoo-helper db backupodood db backup
odoo-helper db restoreodood db restore
odoo-helper db copyodood db copy
odoo-helper db renameodood db rename

Testing

odoo-helper-scriptsodood
odoo-helper test -m addonodood test -m addon

Translations

odoo-helper-scriptsodood
odoo-helper tr regenerateodood tr regenerate

Virtualenv / Python utilities

odoo-helper-scriptsodood
odoo-helper update-odooodood venv update-odoo
odoo-helper exec CMDodood venv exec CMD
odoo-helper pipodood venv pip
odoo-helper pythonodood venv python
odoo-helper ipythonodood venv ipython

CI / dev tooling

odoo-helper-scriptsodood
odoo-helper ci check-versions-gitodood repo check-versions
odoo-helper ci fix-versionsodood repo bump-versions
odoo-helper ci do-forward-portodood repo do-forward-port
odoo-helper ci auto-migrate-modulesodood repo migrate-addons
odoo-helper repo fix-version-conflictodood repo fix-version-conflict
odoo-helper lint pylint / flake8 / styleodood pre-commit run

When setting up pre-commit on a repository migrated from odoo-helper-scripts, use the --odoo-helper-compat flag to generate a check-only configuration that matches odoo-helper’s linting behaviour (no auto-formatting):

odood pre-commit init --odoo-helper-compat

Project info

odoo-helper-scriptsodood
odoo-helper statusodood status
odoo-helper print-configodood info

What is not available in Odood

The following odoo-helper-scripts features do not have equivalents in Odood yet:

  • odoo-helper scaffold — no addon/repo scaffolding command yet

What is new in Odood

  • Assembly — the recommended way to manage third-party addons on production servers. Assembly replaces the pattern of cloning multiple repositories directly on each server.
  • odood deploy — one-command production deployment with systemd, nginx, logrotate, fail2ban, and Let’s Encrypt integration.