Manifest Academy

Home › Curriculum › Odoo Developer › odoo-bin and the configuration file

Framework and architecture · 14 min · 17–20

odoo-bin and the configuration file

Command-line options and odoo.conf: database, addons path, install/update, dev mode, tests, workers, limits, logging and subcommands.

In this lesson

Key points

Real-world example

A developer ran -u all on production at 2 p.m. to update one module; every module reloaded, the site was slow for 40 minutes and a forgotten view override broke. The team's runbook now says: update only the changed modules, out of hours, after testing the same command on staging.

Questions and answers

What does --dev=xml do?

Reads views from XML files directly so view edits appear without updating the module (development only).

What does dbfilter = ^%d$ do?

Selects the database whose name matches the request's subdomain.

Read the full lesson, worked example and quiz