Changelog
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
Undefined
Added
- Build Docker image for
linux/amd64
andlinux/arm64
. - Store and restore
.env
to pass store withpass-store-dotenv
andpass-restore-dotenv
. - Init database with selected modules defined
ODOO_INIT_ADDONS
. - Enable mail server configuration from env vars.
Updated
- Ensure
templates/task
is using `uv. - Split functions in
entrypoint.sh
into multiple scripts. - Ensure task file matches https://taskfile.buld specification.
2025-01-10
Added
- Run the Odoo upgrade script with
upgrade-odoo
. - Upgrade module code with
upgrade-module
. - After switching version branch with
checkout
the new branch is pulled. - Image shows revision date in settings page.
- Image supports env vars to initialize database.
test-docker
uses new env vars to initialize database.- Test image features with
test-docker
. - Extended usage section of the Image README file.
- Use prefixed
PG
env vars for database connection. - Image supports auto update modules with click-odoo.
- New commands to manage snippets
disable-snippet
andremove-snippet
. - Support
MODULE_AUTO_INSTALL_DISABLED
for native path. - Shallow checkout for submodules with option
shallow = true
. - Replace
pip
withuv
.
Updated
- Command
test-xmlrpc
renamed totest-xmlrpc
. - Refactored
odooctl
cli. - Added emojies to the README feature list.
- Rename
build
folder toimage
. - Moved selected Python packages to requirements.txt.
Fixed
- Append nested module paths to the addons path env var.
Removed
- Removed
logo.png
. - Removed
scripts/jsonrpc
. - Removed commands
get-jsonrpc-session
,odoo-checkin
andodoo-checkout
. - Removed
odoorpc
from requirements.txt. - Removed packages for
psql
. - Removed command
disable-auto-install
.
2024-12-16
Added
- New commands
lint-module-repo
andtest-module-repo
to test all modules in repo. - New test commands
task test-k8s
andtask test-docker
for CI. - Run test commands on every push and PR.
- Show GitHub action badge in README file.
- Odoo Build image load ssh private and public key to Odoo config. They can be used with
git_base
. - Added command
show-revision
- Added command
git-fetch
Updated
- All functions in
task
have been sorted and grouped. checkout-revision
updates var in.env
file.- Replaced Mailhog with Mailpit
- Refactored Odoo revision scripts.
2024-11-27
Added
There are new commands in the Odoo Build project:
task create-revision
David Denicolò I use this command to define a new Odoo Revision. Here is the latest: https://github.com/Mint-System/Odoo-Build/blob/16.0/scripts/odoo_revision_16.0.20241125task start-kind
/task start-minikube
to deploy a local Kubernetes clustertask k8s-apply
to deploy Odoo to the Kubernetes clustertask create-module
/task generate-module-model
/generate-module-security
for bootstraping new modulestask list-revisions
to list the available revisions.- The config folder has been removed. When starting Odoo with
task start native
theodoo.conf.template
will be templated with env vars. task test-json-rpc
has now a model parameter.
2024-11-13
Added
- Boostrap modules with
task create-module|generate-module-model|generate-module-security
- Updated module templates in
templates
- Start and deploy to Minikube (Kubernetes)
task start-minikube|init-minikube
seek8s
folder for details - Removed
docker-compose
in favor ofdocker compose
plugin - Updated troubleshooting section