Skip to main content

ow — Odoo Workspaces

CLI tool that turns interactive prompts into ready-to-code Odoo workspaces using git worktrees.

What it is

ow manages Odoo development workspaces. Each workspace is a directory holding git worktrees for the Odoo repos you work on, plus generated IDE configs, Python environment, and Odoo config files — all ready to open and start coding.

Every workspace on the machine shares the same set of bare repos, so you clone Odoo once and fetch updates that are immediately visible to every workspace. Worktrees are cheap (no duplicate working trees), so you can keep multiple feature branches side by side without re-cloning gigabytes of history.

What it solves

  • Clone fatigue — Odoo repos are large. Shared bare repos mean one clone, many worktrees.
  • Setup boilerplatemise.toml, odoorc, odools.toml, pyrightconfig.json, and IDE configs are generated from templates every time.
  • Branch juggling — concise base..feature branch specs control detached vs attached worktrees; ow rebase keeps them up to date idempotently.
  • Workspace discovery — workspaces live anywhere; an index remembers where, so ow status myfeature finds it by name.

Prerequisites

  • mise — manages Python, virtualenvs, and dependencies in generated workspaces
  • Odoo system dependencies — see Odoo source install docs (includes wkhtmltopdf, PostgreSQL client libs, etc.)
  • SSH — configured for access to Odoo repositories
  • Docker or Podman (optional) — ow ships a compose file for postgres, pgweb and mailpit; see Services

Installation

pipx install odoo-workspaces   # recommended
pip install odoo-workspaces    # or in an active venv

Quick Start

mkdir my_work && cd my_work
ow init                            # interactive form: templates, repos, branch specs
mise install
code .                             # open in your IDE and enjoy

On first use, ow writes a commented default config to ~/.config/ow/config.toml — edit it to point at your Odoo remotes. See Configuration for the full layout.

Documentation

Thanks

This is a small personal project I built with AI coding. It scratches a very specific itch I have — managing multiple Odoo worktrees side by side.

If you find it useful, please consider contributing!

Contributions are welcome! If something is broken, confusing, or missing — open an issue. If you have a fix or improvement in mind, PRs are appreciated.

Release files for odoo-workspaces 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-workspaces 2.0.1
File Size Uploaded
odoo_workspaces-2.0.1.tar.gz 172.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odoo-workspaces 2.0.1
File Interpreter ABI Platform
odoo_workspaces-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 244.0 kB

Release files / odoo_workspaces-2.0.1.tar.gz

Download URL odoo_workspaces-2.0.1.tar.gz
Size 172.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0c48b3117cf8dab045e673f38c0b36fbdfa4e05bb7f053f7e8cf917d43ff67bf
BLAKE2b-256 checksum
How to use checksums
d615d7f2a4d87ba6266d355540212c0d5b79078efc33a9cda93b5aa36c4e5379
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / odoo_workspaces-2.0.1-py3-none-any.whl

Download URL odoo_workspaces-2.0.1-py3-none-any.whl
Size 71.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6ad18918b2c81b539b7e1b21ae048ab0f4981eeac9f4d1a9fe06d738a8195f1
BLAKE2b-256 checksum
How to use checksums
24f502b9446ca83cd5019f6a5ab4a3d43fb8eef4275da5d19c02564e83bad119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

2.4.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page