cc config

Configure CC settings interactively.

Usage

cc config                              # open interactive wizard
cc config -v NAME PATH                 # add or update a version
cc config -v NAME PATH --branch 17.0  # add version with branch (single-repo mode)
cc config repo_type multi_dir         # set a setting directly

Available Settings

Setting
Default
Description

IDE

code

IDE to open projects in (code or cursor)

Download path

~/Downloads

Where CC looks for dump files

Odoo config path

Path to your .odoorc file

Repo structure

multi_dir

multi_dir or single_repo — see below

Multi-version mode

false

Track one active project per Odoo version

Timesheet flag threshold

60

Minutes before a session is flagged

Prompt on flagged switch

true

Show confirmation prompt on flagged switch

Auto-fetch

false

Background fetch Odoo repos after each switch

Auto-fetch interval

24

Hours between background fetches

Managing Versions

The --branch flag is only needed in single-repo mode. See Settings Guide for details.

Repo Structure

Two structures are supported:

Multi-directory (multi_dir) — one folder per version:

Single-repo (single_repo) — one shared folder, branch per version:

In single-repo mode, cc switch automatically checks out the correct branch in odoo/, enterprise/, and design-themes/ when you switch projects.

Last updated

Was this helpful?