# 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
```bash
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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/odoo-module-version-manager.git",
"name": "odoo-version-manager",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": null,
"keywords": null,
"author": "Marc-Christian Wimmer",
"author_email": "marc@zebroo.de",
"download_url": "https://files.pythonhosted.org/packages/df/fb/1b77e01360280ba0fad37d7e3c8f06a077f029b729aa2e0ae90f1951f5b4/odoo-version-manager-0.0.19.tar.gz",
"platform": null,
"description": "\n# odoo-version-manager\n\nHelps handling updates on main branch of a module to be deployed to all sub branches.\nIt uses github workflows to accomplish this.\n\n## installing\n\n```bash\npipx install odoo-version-manager\nodoo-version-manager completion -x\n```\n\n# usage\n\n## initial setup\n\n- create a repository like an OCA repository with some modules on branch **main**\n- decide which version the main branch is for example 16.0\n\n```\nodoo-version-manager setup 16.0\n```\n\n## set another odoo version for main branch\n\nIf you move on and main branch becomes odoo version 18.0 instead of 16.0 do the following:\n\n```\ngit checkout main\ngit reset --hard origin/18.0\nvi .github/version_behind_main_branch and set 18.0 there\nodoo-version-manager setup\n```\n\n## rebase all branches\n\nIf there are merge conflicts you must manually help the branches to pass there new commits from one to the other.\nIt 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.\n\n```\nodoo-version-manager rebase -r\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Manage Versions of module along all odoo version",
"version": "0.0.19",
"project_urls": {
"Homepage": "https://github.com/odoo-module-version-manager.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "dffb1b77e01360280ba0fad37d7e3c8f06a077f029b729aa2e0ae90f1951f5b4",
"md5": "878dffab95363659901c3a5780b0aae3",
"sha256": "23faa577ec7b8c870c582e9edb82f63cd6b452bf515ebf079eb7fd2f0ecbb9d0"
},
"downloads": -1,
"filename": "odoo-version-manager-0.0.19.tar.gz",
"has_sig": false,
"md5_digest": "878dffab95363659901c3a5780b0aae3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 16958,
"upload_time": "2025-07-09T11:44:15",
"upload_time_iso_8601": "2025-07-09T11:44:15.516747Z",
"url": "https://files.pythonhosted.org/packages/df/fb/1b77e01360280ba0fad37d7e3c8f06a077f029b729aa2e0ae90f1951f5b4/odoo-version-manager-0.0.19.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-09 11:44:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "odoo-version-manager"
}