Skip to content

Getting Started

Installation

uv tool install odoo-venv
odoo-venv --version

Create an environment

odoo-venv create --odoo-dir ~/code/odoo/19.0

Creates .venv, installs the right Python version, Odoo's requirements.txt, and Odoo itself in editable mode. The Odoo version is inferred automatically from the source directory.

Python version is auto-selected

No need for --python-version — odoo-venv picks it based on the Odoo version.

Presets

For recurring configurations, it is recommended to utilize presets

odoo-venv create --odoo-dir ~/code/odoo/19.0 --preset local

The [common] section applies to all presets automatically. Built-in presets are: local, demo, project, ci.