Development¶
How to develop the Odoo Build project.
Build and publish container image¶
Ensure the host machine can build multi-platform images.
Checkout latest revision of the Odoo version.
Build and publish the Odoo image.
Create Odoo revision¶
Check the latest official Odoo image tag on https://hub.docker.com/_/odoo/tags.
Replace the - with a . in the tag name and create a revision:
Replace all image references in the docs.
Commit and push revision with tag:
Update repo template from OCA repo template¶
Prepare the enviroment:
Run copier to copy the OCA template files:
Answer with:
- Version:
$VERSION - Organisation slug:
Mint-System - Organisation name:
Mint System GmbH - Repo slug:
template - Accepts default for all remaining questions.
Remove unnecessary linter files.
cd "templates/$VERSION"
rm .copier-answers.yml
rm .pylintrc-mandatory
rm README.md
rm renovate.json
rm checklog-odoo.cfg
Copy the templates/$VERSION/.github from last version.
Extend the templates/$VERSION/.gitignore with:
In .pre-commit-config.yaml remove the mandatory pylint_odoo rule:
Then set https://www.mint-system.ch/ as arg for oca-fix-manifest-website.
In .ruff.toml at line 1 enter:
Template the server tools repo and run the linter:
The first run of the linter will take some time.
Refine the templates based on the linter results.