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.0

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.0
File Size Uploaded
odoo_workspaces-2.0.0.tar.gz 168.0 kB Details

Built distribution (wheel)

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

Total release size: 236.1 kB

Release files / odoo_workspaces-2.0.0.tar.gz

Download URL odoo_workspaces-2.0.0.tar.gz
Size 168.0 kB
Tags Source
SHA-256 checksum
How to use checksums
678b9fd02142788c9deb27c3ed1a8ecfd98bbc39de68221ae1552a3648efdc24
BLAKE2b-256 checksum
How to use checksums
32fb075bea6ba2c24f9ba6e33411734c4049a9e9b3ffd609440cb2de80dc8007
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.0-py3-none-any.whl

Download URL odoo_workspaces-2.0.0-py3-none-any.whl
Size 68.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
334ace439573c5648d20288a0f1187bd996239c853f418bd34ec10c7e21003c2
BLAKE2b-256 checksum
How to use checksums
9441190dd941caeb2189db27172caaa8081d56436e416cb68029c6d59d25120f
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

2.0.1

2 release files

This release

2.0.0 This release

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