Skip to content
Sébastien Andreatta edited this page Apr 27, 2026 · 2 revisions

odev deploy

deploy demo

Deploy a local module to a database through the module import feature. Requires the 'base_import_module' module to be installed on the database, and the database to be running.

Usage

odev deploy [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-p {local,remote}] [-b BRANCH] database module

Aliases

No aliases

Arguments

Positional Arguments:

Argument Description
database The database to target.
module Path to the module to deploy (must be a valid Odoo module).

Optional Arguments:

Argument Description
-v, --log-level Set logging verbosity for the execution of odev.
-h, --help Show help for the current command.
-f, --force Bypass confirmation prompts and assume a default value to all, use with caution!
-p, --platform Force searching for the database on the specified platform, useful when different databases have the same name on different hosting (usually one local database being a copy of a remote one). One of local or remote.
-b, --branch The branch to target, only used with PaaS (Odoo SH) databases to force using a specific branch after project detection.

Examples

Show help

odev deploy --help

Deploy a local module to a database

odev deploy demo_19 /path/to/my_module

Target a remote platform

odev deploy -p remote demo_prod /path/to/my_module

Clone this wiki locally