The easiest way to install and manage development odoo instances / projects.
--enforce-bump
to odoo-helper ci fix-versions
and odoo-helper ci check-versions
commands.--no-drop-db
to odoo-helper test
command.
This option could be used to tell odoo-helper to not drop temporary test database.
Especially, this is useful for migration testing to check the state of database after migration.--sys--deps
to odoo-install
command.
This opt allows to automatically install system dependencies whe installing odoo, but requires sudo.odoo-helper install py-prerequirements
python2-setuptools-whl
package, when installing python2 support.fetch
command:
--git-single-branch
could be used to clone repos with single branch options--git-depth-1
could be used to clone repos with option --depth=1
flake8-colors
not needed anymore, as flake8 support color output byt default.pylint-odoo
to less then 8.0 for backward compatibility.
This is done because OCA remove a large part of functionality in 8.0.
See merge request: https://github.com/OCA/pylint-odoo/pull/396
odoo-helper install reinstall-venv --build-python auto
odoo-install --build-python auto
odoo-helper install reinstall-venv --build-python-if-needed
odoo-install --build-python-if-needed
odoo-helper fetch
clone repos with --single-branch
options.
This feature could be enabled via environment variable ODOO_HELPER_FETCH_GIT_SINGLE_BRANCH
.
This feature could be useful to reduce size of cloned repositories.related_sudo=
to compute_sudo
for field definitions.odoo-install --openupgrade
is deprecated. It will raise error for odoo 14.0+.
Starting from Odoo 14.0, openupgrade uses separate odoo addons to store migrations,
instead of full copy of odoo.--migrate-modules
option to odoo-helper ci do-forwardport
: --mm
.
So, now forwardport command could look like: odoo-helper ci do-forward-port -s 12.0 --mm
.jslintrc
placed in repo root directory. If found, then apply it to pylint by default.odoo-helper fix-versions
- odoo-helper fix-version
--tdb
to odoo-helper odoo recompute
command--no-backup
to odoo-helper install reinstall-odoo
phantom_js(
to browser_js(
.--if-not-exists
to odoo-helper db create
commandodoo-helper postgres wait-availability
that allows to wait while postgres will be started and ready.
This command could be useful for docker containers