Local is a CLI tool to streamline Odoo development environments.
It automates repository management, directory structures, and virtual environments using uv and odoo-venv.
With uv:
uv tool install git+ssh://[email protected]:trobz/local.py.gitThe first step is to initialize the directory structure for your local environment:
tlc inittlc pull-repos: Clone or update Odoo and OCA repositories.- Filtering: You can filter specific repositories using the
-for--filterflag.tlc pull-repos -f odoo -f web
- Filtering: You can filter specific repositories using the
tlc create-venvs: Create virtual environments for your Odoo versions.tlc install-tools: Install other CLI tools defined in your config.tlc install-packages: Install required system packages.
You can configure the tool using environment variables:
NEWCOMER_MODE: Set tofalseor0to disable interactive confirmations and help messages for a faster workflow.
Run tlc --help for more information on all commands.
