odev
ODEV Commands Skill
This skill provides instructions on how to use odev (Odoo Development CLI) during upgrade tasks.
🛑 MANDATORY RULES (ODEV CLI USAGE)
-
VERSIONING: You MUST specify the Odoo version explicitly using the
-V <version>flag when creating a database (odev create). For other commands likeodev run,odev shell, orodev test, the-Vflag is optional if the database already exists, asodevwill automatically infer the version from the database. However, if you are targeting a specific version that differs from the database or if the database does not exist, specifying-Vis required.- Example:
odev run -V 19.0 ...
- Example:
-
ARGUMENT ORDER:
odevspecific flags (LIKE-V,-f,-c,-w,--venv) MUST come BEFORE the database name. -
DATABASE CREATION/OVERWRITE: You MUST ALWAYS use the
-f(force) flag when creating a database that might already exist to bypass confirmation prompts. "Overwriting" an existing database viaodev createREQUIRES-f.