Odoo 18 Development Book: Conf File

Parameters

  • addons_path: Specifies the order and location of folders where Odoo modules are stored.
  • admin_passwd: Sets the master password for the Odoo database manager; stored as a hashed value in the config file and can be updated from the front end.
  • csv_internal_sep: Sets the separator used when importing or exporting CSV files.
  • data_dir: Path to the directory that stores file attachments and related binary data.
  • db_host: Hostname of the PostgreSQL server; default is localhost.
  • db_maxconn: Sets the maximum number of allowed PostgreSQL connections.
  • db_name: Defines the name of the database. If set to False, all databases are shown unless filtered.
  • db_password: Password for the database user; default is None.
  • db_port: Port on which the database server listens; default is None.
  • db_user: Username used to connect to the PostgreSQL database.
  • dbfilter: Filters databases based on a regular expression pattern.
  • db_template: Template used for creating new databases; default is template0.
  • email_from: Default email address used when sending emails from Odoo.
  • http_port: Port used by Odoo to serve HTTP requests.
  • import_partial: Enables large data imports to resume from failures by storing intermediate states.
  • limit_memory_hard: Maximum virtual memory limit for workers; exceeding this terminates the worker immediately.
  • limit_memory_soft: Soft memory limit; worker will be recycled after the current request if exceeded.
  • limit_request: Maximum number of requests a worker can handle before restarting.
  • limit_time_cpu: CPU time limit per request; the worker will stop if it exceeds this.
  • limit_time_real: Real (wall-clock) time limit for processing a request.
  • list_db: If False, hides the database selector on the login screen.
  • log_db: If True, logs are written to the ir_logging table in the database.
  • log_level: Sets the logging verbosity (info, debug, error, etc.).
  • log_handler: Allows setting module-specific logging levels (e.g., :INFO).
  • logfile: Path to the log file; defaults to console output if not set.
  • logrotate: If True, logs are rotated daily and up to 30 files are kept.
  • interface: IP address to which the server binds; empty means all interfaces.
  • port: TCP port on which the server listens.
  • secure: Enables HTTPS if set to True.
  • secure_cert_file: Path to the SSL certificate file.
  • secure_pkey_file: Path to the SSL private key file.
  • longpolling_port: Port used for long-polling in multiprocessing/gevent mode (default: 8072).
  • max_cron_threads: Number of threads available for scheduled tasks.
  • osv_memory_age_limit: Maximum age (in hours) for records in in-memory tables; default is 1.
  • osv_memory_count_limit: Maximum number of in-memory records; False means unlimited.
  • pidfile: File where the server’s process ID (PID) is stored.
  • proxy_mode: Should be enabled (True) when Odoo is behind a proxy server.
  • server_wide_modules: Comma-separated list of modules always loaded (default: web).
  • smtp_password: Password used for the SMTP server.
  • smtp_port: Port number for SMTP communication.
  • smtp_server: SMTP server hostname; default is localhost.
  • smtp_ssl: Enables SSL/TLS encryption for SMTP if set to True.
  • smtp_user: Username for the SMTP server.
  • syslog: If True, logs are also sent to the system log.
  • test_enable: Enables YAML and unit tests if set to True.
  • test_file: Path to a specific test file to be executed.
  • test_report_directory: Directory for saving test reports.
  • test_commit: Applies changes made by test files instead of rolling them back.
  • translate_modules: List of modules to export translations from; default is ['all'].
  • unaccent: Enables unaccented search support; default is False.
  • without_demo: Prevents demo data loading for specified modules (or all).
  • workers: Number of worker processes. If set to 0, uses threaded mode.
  • xmlrpcs: Enables or disables the secure XML-RPC protocol (SSL).
  • xmlrpcs_interface: Interface for secure XML-RPC; empty binds to all interfaces.
  • xmlrpcs_port: Port for secure XML-RPC protocol.
  • xmlrpc: Enables or disables the XML-RPC protocol.
  • xmlrpc_interface: TCP/IP interface for XML-RPC; empty binds to all interfaces.
  • xmlrpc_port: Port for XML-RPC connections.
  • timezone: Time zone used by the server (e.g., Europe/Berlin); default is False.
whatsapp_icon
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message