Skip to content
Snippets Groups Projects
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS.rst 16.77 KiB

History

21.5.0 (2024-04-18)

Compatibility with Odoo 17:

  • add odoo17 value for odoo_type
  • when black/flake8/isort is run on an odoo 17 super project, they are either ignored or raise an exception

Replaced black/flake8/isort with ruff.

21.4.1 (2024-03-21)

black

21.4.0 (2024-03-21)

docker_build, docker_dev_start: give values to VERSION/VERSION_ARG/SENTRY_RELEASE_TAG/SENTRY_RELEASE closer to what the built image value would be.

do_tests: only add user/password if provided

docker_dev_start:

  • add argument to disable queue_job delay
  • fix issue with missing marabunta db user that breaks anonymize

21.3.0 (2024-03-21)

Allow setting marabunta_db_user and marabunta_db_password in global configuration file and reuse it if set and they are not provided in the command line.

21.2.4

docker_build_copy: Handle empty packages.

21.2.3

run_tests: Avoid using deprecated grep environment variable.

21.2.2

Fix issue when building a package whose name is available elsewhere.

21.2.1

docker_build_copy: Handle non mercurial repository correctly when searching for packages.

21.2.0

docker_build_copy: Apply any local changes from python packages when building. This requires the patch binary to be in the path.

21.1.0

docker_redner: Ease running the command by providing same default as docker_dev_start --start-redner.

Factorize postgres connection code.

21.0.8

Fix detecting existing container.

docker_dev_start: Fix missing proxy mode in command line when using workers.

Fix running redner when asked to use docker network.

21.0.7

Fix running redner.

21.0.6

docker_build: fix issue with missing buildx. (is_installed is working correctly)

21.0.5

Avoid docker.buildx.is_installed() as it reports installation even if it is not installed.

21.0.4

black

21.0.3

Fix flake8/isort.

21.0.2

docker_dev_start and docker_pylint: do not duplicate mount point for songs when they are correctly defined in python_packages.

21.0.1

docker_build_copy: Do not do strange thing if . is defined in python_packages

21.0.0

Use python_on_whales rather than Docker-py to use buildkit when building images.

https://github.com/docker/docker-py/issues/2230

If buildx for docker is installed, use it to build.

do_tests: Add --odoo-sources option available on docker_dev_start.

20.14.0

docker_build: Use the Orus API token if available (giving it to docker in the environment variable PIP_INDEX_URL)

20.13.0

Add version detection.

Add information indicating that Orus API token is required in configuration. Defaults to False.

20.12.2

Fix issue with secretstorage when docker section is not installed.

20.12.1

do_tests.zsh: Fix pg_extensions use, and allow setting unaccent to install it.

20.12.0

Use SecretStorage to store Orus API token.

20.11.0

do_tests.zsh: allow using env var pg_extensions to describe extensions to install. Allow compatibility with modules requiring a specific extension.

20.10.1

do_tests.zsh: Fix issue with log handler.

20.10.0

Use tomli instead of toml for python < 3.11.

Download wheel for python packages if able, caching them. Use multiprocess to speed up coping/compiling/downloading.

20.9.0

Allow setting log handler instead of log level.

20.8.2

docker_build: When building image with dev tools, do not add the user flags. This allows using venv and when odoo is installed in a user, it is picked automatically.

20.8.1

Use correct gevent uri/option for Odoo 16+.

20.8.0

docker_dev_start: create database when it does not exists (avoid issue with anomization when creating new databases)

20.7.1

Fix typing error.

20.7.0

Change python_packages keys to allow several mount point and targets in the same package).

20.7.0

Enable cache for pip for dev packages.

20.6.0

docker_dev_start:

  • add werzeug in odoo 15+ to the automatically enabled dev options

20.5.1

docker_dev_start: Fix path for volumes.

20.5.0

Allow setting db_user, db_password, log_handler and pythondevmode in a global settings file (${XDG_CONFIG_HOME-$HOME/.config}/odoo_scripts/config.toml). Configuration can be done by odoo_type too.

Detect missing package when preparing to build the image.

20.4.0

When copying python packages to build the image, use hg archive rather than rsync.

docker_dev_start: Add option to activate S3 storage for attachments (requires the s3_attachment_storage module to be installed to work)

20.3.1

Add missing common shell script.

20.3.0

docker_dev_start:

  • Clearer message for missing redner image name.
  • Improve version string: include next version and topic for mercurial super projects.

run_tests: exclude all manifest from coverage, previous exclusion did not apply for installable modules.

Rename do_tests shell script so that it is installed, the console script was shadowing it.

20.2.0

docker_build_copy: when not in CI, default to copying packages and let the package be build in the image.

docker_black: also indicate version before running the command.

20.1.0

docker_dev_start: Add ability to run a redis container.

20.0.1

Fix getting the redner api key when starting it for Odoo.

20.0.0

Support for Odoo 16.0 super project: add new python_packages configuration key.

Install shell scripts too.

19.1.0

Support Odoo 14.

19.0.2

docker_dev_start: Change how odoo sources is mounted in the image. It leaves the installed module path alone and also avoids ending up with empty directory in the odoo clone’s odoo/addons directory.