Skip to main content

Branch Actions

The Actions area on the branch screen holds every operation you can perform on a branch's instance. This page is a reference — for the normal working flow, see Your First Branch.

Every action creates a background task. Watch the Tasks tab to see whether it succeeded.

Actions marked Developer are only visible to users with the Developer role or above. Actions marked Destructive ask for confirmation first; Delete Instance additionally requires you to type the instance name.

Running the instance

ActionWhat it does
RestartRestarts the instance's containers (a restart-and-reload). The first thing to try when an instance is unavailable
ReloadRegenerates the Docker configuration from the current source and restartsDeveloper
BuildRuns the generated Docker configuration — fetches Odoo and Postgres images, installs required packages, builds the instance
Update Source-CodeChecks out the latest commit of the branch into the instance workspace

Reload regenerates the Docker configuration from the current source:

Reload

Build then runs it — fetching the Odoo and Postgres images and installing the required packages:

Build

Getting in

ActionWhat it does
Odoo LoginLists users from the instance database and logs you in as the one you pick, without a password
Update UsersRe-syncs the list of login users. Use this when Odoo Login offers stale users after a reset or restore
ShellOpens a shell on the instanceDeveloper
CodeOpens the web-based VS Code editor on the instance workspaceDeveloper
Code (Vim)The same editor with Vim key bindingsDeveloper
Test TVOpens the live test viewerDeveloper
LogsOpens live container logsDeveloper
WebmailerOpens the instance's web mail catcher
Restart VS Code / Test TVRestarts the editor and test viewer, and refreshes the instance workspace setupDeveloper

Modules

ActionWhat it does
Update MANIFEST ModulesUpdates every module listed in the MANIFEST file. Installs new custom modules, and uninstalls anything in the uninstall section
Update InstalledUpdates the modules currently installed in the database, without consulting MANIFEST
Update SpecificOpens a picker so you can update a chosen set of modules only

Update MANIFEST Modules installs anything newly listed and uninstalls anything moved to the uninstall section:

Update MANIFEST Modules

The result of a MANIFEST update

Databases and dumps

ActionWhat it does
BackupCreates a dump of the instance database including the filestore
Backup w/o FilestoreCreates a dump without the filestore — faster and much smaller
RestoreRestores a selected dump into this instance. See Database Backup and Restore
AutobackupToggles automatic backups for this instance
SnapshotTakes a filesystem-level snapshot of the instanceDeveloper
Restore SnapshotRestores a previously taken snapshotDeveloper
Determine DB SizeMeasures and records the current database size
Shrink DBClears out bulk data from the database to reduce its sizeDestructive
Reset DBWipes the database and rebuilds it emptyDeveloper · Destructive
Reset DB (Demo)Wipes the database and rebuilds it with demo data. The quickest way to get a clean, predictable system to test a feature onDeveloper · Destructive
Export ExcelExports data from the instance as an Excel file

Assets and appearance

ActionWhat it does
Regenerate AssetsRebuilds Odoo's web assets
Remove Web AssetsStops Odoo, removes the generated web assets, and starts it again. Assets regenerate on next login. Use this for broken or stale CSS/JS
Restore Web IconsRestores module web icons
Install RibbonInstalls the environment ribbon, which labels the instance visibly in the Odoo UI

Instance settings

These are toggles rather than one-off operations.

ToggleEffect
ActiveDeactivates or reactivates the instance
FavoriteMarks the branch as a favourite for you
Dev ModeTurns Odoo's developer mode on or off
I18N UpdatesControls whether translations are updated on module update
No Zodoo PullPrevents zCICD from pulling zodoo images for this instance
No Zodoo PushPrevents zCICD from pushing zodoo images from this instance
Turn into DEVNeutralises the database for development use: deactivates every scheduled action (ir.cron), and repoints all outgoing and incoming mail servers at the local test mail host. Requires DEVMODE=1

Maintenance and teardown

ActionWhat it does
Fix Filestore PermissionsRepairs filesystem permissions on the instance filestore
Free Volumes (down -v)Brings the instance down and removes its Docker volumesDeveloper · Destructive
Delete InstanceDestroys the instance entirely. Requires typing the instance name to confirmDeveloper · Destructive
caution

Turn into DEV exists because a database restored from production still contains real mail servers and active cron jobs. Run it before working on any instance seeded from production data, or the instance may send mail to real customers. zodoo refuses to run it unless DEVMODE=1 is set, because the database is not usable in production afterwards.

The project can extend what neutralisation does: any .sql file listed under neutralize in MANIFEST, and any devscripts/turn-into-dev.sql, is applied as well.