- New command
odood venv pip
that allows to run pip from current venv. - New command
odood venv npm
that allows to run npm from current venv. - New command
odood venv python
that allows to run python from current venv. - New command
odood venv ipython
that allows to run ipython from current venv. - Added new option
--ual
to commandodood repo add
that allows to automatically update list of addons when repository was added. - New command
odood venv run
that allows to run any command from current venv. - New command
odood repo run-pre-commit
to run pre-commit for the repo.
- Database restoration reimplemented in D, thus now it restores db dump and filestore in parallel.
- Added ability skip addons specified in file during install/update/upgrade.
- Added new options to
odood test
command:--file
that could be used to pass the path to file to read addons to test from--skip-file
read names of addons to skip from file
- Installation of dependencies from manifest is now optional. It is frequent case, when authors of module place incorrect dependencies in manifest, thus installation of addon may fail.
- Fix error when running
addons install/update/uninstall
with non-existing logfile. This was caused by attempt to determine starting point of logfile to search for errors happened during operation. Now this case is handled correctly.
- Added new options
--skip
and--skip-re
toodood test
command, that allow to not run tests for specified addons. Useful in cases, when there is need to skip some addons found via options--dir
and--dir-r
- Added new options
--skip
and--skip-re
toodood addons install/update/uninstall
commands. Useful in cases, when there is need to skip some addons found via options--dir
and--dir-r
- Added new option
--skip-errors
toodood addons install/update/uninstall
commands, that allows to not fail when installing addons in database, thus allowing to install addons to other databases, and fail in the end. - Added new option
--install-type
toodood init
andodood venv reinstall-odoo
commands, thus, now it is possible to install Odoo as git repo or as unpacked archive depending on this option
- Load Python dynamically, thus make Odood more portable.
- Finally, make Odood portable. Now we have universal deb package, that could be installed on most debian-based repos newer then ubuntu:20.04
- Commands
odood addons install/update/uninstall
now will report Odoo errors raised during addons installation.
- Command
odood addons generate-py-requirements
that allows to generate requirements txt files for specified modules. - Added new option
--tdb
toodood db create
command, that allows to use automatically generated default name for tests database. - Added new command
odood db list-installed-addons
. This command could be used to print to stdout or file list of addons installed on specific databases.
- Command
odood odoo shell
that allows to open odoo shell for specified db. - Added release for
debian:bullseye
- Implement backup of database on D level. This way it provides better error handling.
- Added ability to cache downloads if
ODOOD_CACHE_DIR
environment variable is set.
- New option
--simplified-log
added toodood test
command. Thus it is possible to display meaningful log info (log level, logger, message).
- Command
odood venv reinstall-odoo
now backups old odoo by default. But it is possible to disable backup with option--no-backup
- Now it is allowed to specify only name of backup to restore database from. In this case, Odood will try to find corresponding backup in standard backups directory of project.
- Correctly handle
--additional-addons
passed for tests in case when migration test enabled: update that addons before running tests.
- New option
--all
toodood db backup
command, that allows to backup all databases within single command. - New command
info
that will display info about project, optionally in JSON fromat. - New option
--file
toodood addons install
andodood addons update
commands. This option allows to get list of addons to install / update from provided file. This way, it is possible to avoid specifying list of addons manually. - New option
--install-file
toodood db create
command, that will automatically install modules from specified files. - New option
--coverage-ignore-errors
toodood test
command, that allows to ignore coverage errors, that a frequent case during migration tests (because files available on start may disapear during migration). - New option
--recreate
todb restore
command, thus it is possible to automatically drop database before restoration if needed. - Added flag
--backup
tovenv update-odoo
command. - Added new command
odood venv reinstall-odoo
, that could be used to reinstall odoo to different version in same venv. This could be used for migrations to avoid the need to setup new machine for migrated instance.
- Command
odood db backup
: when--dest
option supplied and it is existing directory, then database will be backed up in this directory with automatically generated name of backup. - Automatically supply
--ignore-errors
tocoverage
when running migration tests
- New option
--ual
toodood addons install
andodood addons update
comands - New option
--additional-addon
toodood test
command - New options for
odood addons list
command:--with-price
and--without-price
forodood addons list
command--color=price
to highlight addons that have or have no prices--table
to output list of addons as table
- New command
odood venv install-py-packages
that could be used to easily install python packages in Odood virtualenv environment - New option
--warning-report
toodood test
command: if this option provided, then Odood will print uniq list of warnings in the end of test run
- Add new option --color=installable to addons list command
- Added command
odood ci fix-version-conflict
to resolve version conflicts in module manifests
odood test
command: show error report by default, but add option to disable it.- Clone repos recursively optionally. Before this change,
command
odood repo add
was clonning repositories recursively (parseodoo_requirements.txt
file in clonned repo and clone dependencies mentioned there). After this change, recursive add repo is optional, end could be enable by optionodood repo add --recursive ...
odoo test
with option--isw
will additionally ignore following warning:unknown parameter 'tracking'