Skip to content

3.0.0

Compare
Choose a tag to compare
@guewen guewen released this 07 Sep 10:05
· 311 commits to master since this release

/!\ Breaking changes /!\

Flavors: you have either to use the onbuild flavor, either to add the
COPY instructions in your projects Dockerfiles.
Directories have been re-arranged, you must adapt addons-path, volumes or COPY instructions:

  • /opt/odoo/etc/odoo.cfg.tmpl → /templates/odoo.cfg.tmpl
  • /opt/odoo/etc/odoo.cfg → /etc/odoo.cfg
  • /opt/odoo → /odoo
  • /opt/odoo/bin → /odoo-bin
  • /opt/odoo/bin_compat → /odoo-bin-compat (for 9.0)
  • /opt/odoo/before-migrate-entrypoint.d → /before-migrate-entrypoint.d
  • /opt/odoo/start-entrypoint.d → /start-entrypoint.d

Marabunta:

Features and Improvements

  • Refactor code to be able to share code between versions (see common and bin directories)
  • Introduce Flavors of the image:
    • normal image without "onbuild"
    • normal image with "onbuild" instructions
    • batteries-included image without "onbuild"
    • batteries-included with "onbuild" instructions
  • Batteries-included flavor includes a selected list of python packages commonly used in OCA addons (see extra_requirements.txt)
  • Do not use the "latest" image, pick your flavor after you read the readme
  • Python build package are now available in the variable $BUILD_PACKAGE
  • New script to install and remove all build package (see install/dev_package.sh and install/purge_dev_package_and_cache.sh) from $BUILD_PACKAGE
  • Change directory organisation. So now you can mount the whole odoo directory from your dev environment (instead of directory by directory)
  • Adapt example with the previous change
  • Helpers for running tests on cached databases / preinstalled addons

Libraries