-
Notifications
You must be signed in to change notification settings - Fork 10
deploy
Sébastien Andreatta edited this page Apr 27, 2026
·
2 revisions

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.
odev deploy [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-p {local,remote}] [-b BRANCH] database moduleNo aliases
| Argument | Description |
|---|---|
database |
The database to target. |
module |
Path to the module to deploy (must be a valid Odoo module). |
| 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. |
odev deploy --helpodev deploy demo_19 /path/to/my_moduleodev deploy -p remote demo_prod /path/to/my_module