Skip to content

Configuration

Project metadata

A Codoo project contains codoo.json and an addons/ directory. The metadata records its Odoo version, naming conventions, source locations, and selected runtime.

{
  "name": "Demo Project",
  "version": 19,
  "prefix": "demo",
  "author": "Team Codoo",
  "website": "https://codoo.io",
  "environment": {
    "target": "venv",
    "auto_update": false
  }
}

Use codoo env show and codoo core show instead of relying on internal field names, which may evolve.

Odoo server configuration

The config group manages [options] in config/odoo.conf:

codoo config list
codoo config get workers
codoo config set workers 4
codoo config enable proxy_mode
codoo config disable list_db
codoo config unset workers
codoo config edit

Pass --file FILE to manage a non-default file.

codoo config recommend --profile dev
codoo config recommend --profile prod --cores 8
codoo config recommend --profile prod --cores 8 \
  --switch-user odoo --apply

Recommendations are printed without changing the file unless --apply is present.

Codoo home and telemetry

  • CODOO_HOME changes the default ~/.codoo data and source-cache root.
  • Telemetry is opt-in, local JSONL diagnostic logging. Its default file is ~/.codoo/telemetry.log.
  • Use --telemetry-file FILE to change that file for one invocation.