Skip to main content

Manage Versions of module along all odoo version

Project description

odoo-version-manager

Helps handling updates on main branch of a module to be deployed to all sub branches. It uses github workflows to accomplish this.

installing

pipx install odoo-version-manager
odoo-version-manager completion -x

usage

initial setup

  • create a repository like an OCA repository with some modules on branch main
  • decide which version the main branch is for example 16.0
odoo-version-manager setup 16.0

set another odoo version for main branch

If you move on and main branch becomes odoo version 18.0 instead of 16.0 do the following:

git checkout main
git reset --hard origin/18.0
vi .github/version_behind_main_branch and set 18.0 there
odoo-version-manager setup

rebase all branches

If there are merge conflicts you must manually help the branches to pass there new commits from one to the other. It is advised to use the -r option to reduce the commits from one branch to the other to make it easier the next time to resolve merge conflicts.

odoo-version-manager rebase -r

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo-version-manager-0.0.16.tar.gz (16.6 kB view details)

Uploaded Source

File details

Details for the file odoo-version-manager-0.0.16.tar.gz.

File metadata

  • Download URL: odoo-version-manager-0.0.16.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for odoo-version-manager-0.0.16.tar.gz
Algorithm Hash digest
SHA256 b17763eb15a82f846e31f280d961988fed9f5d49f883db7f9f5c2fce9a8bf62a
MD5 83f329c287ee411dfa560fcdd98347b2
BLAKE2b-256 b6c8ce8f3050c8deb7f16e5c4d2914d2caa8b34428e55a2a6635971f248970d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page