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

odev config

config demo

Get or set configuration values.

Usage

odev config [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [key] [value]

Aliases

conf, cfg

Arguments

Positional Arguments:

Argument Description
key Configuration key to fetch, in the format 'section.option'.
value Value to set for the given key.

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!

Examples

Show help

odev config --help

Get a configuration value

odev config paths.repositories

Set a configuration value

odev config update.mode always

List all configuration values

odev config

Available Parameters

The following parameters are available in the standard odev installation. Plugins may add additional parameters.

Section Option Description Default
paths repositories Path where Odoo repositories are stored. ~/odoo/repositories
dumps Path where database dumps are saved. ~/odoo/dumps
upgrade Path to Enterprise migration scripts. ~/odoo/repositories/odoo/upgrade
update mode Auto-update behavior (ask, always, never). ask
interval Days between update checks. 1
release Release channel (main, beta). main
repositories interval Days between repository pull checks. 7
telemetry enabled Enable or disable anonymous telemetry (true, false). true

Clone this wiki locally