Skip to main content

ow — Odoo Workspaces

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

Ask DeepWiki

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.2.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.2.0
File Size Uploaded
odoo_workspaces-2.2.0.tar.gz 203.5 kB Details

Built distribution (wheel)

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

Total release size: 298.9 kB

Release files / odoo_workspaces-2.2.0.tar.gz

Download URL odoo_workspaces-2.2.0.tar.gz
Size 203.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fc5400b9e954fa89989e7eac605ae1c000fa16dc4c59ab4150375f0eb2ccce36
BLAKE2b-256 checksum
How to use checksums
80386ac0af07396d1c0871764ac2d5e596b6b6d97367f96271324d9ae0107ba3
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.2.0-py3-none-any.whl

Download URL odoo_workspaces-2.2.0-py3-none-any.whl
Size 95.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74c24a409ac78cdef46cc10d66be1b754ac4b056c91d6e84ea4f01f35e553bfa
BLAKE2b-256 checksum
How to use checksums
01c732ec05ec86508213b2f5ae174e349f998aa0c7a72b2d2100674845276841
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

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.1

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