odoo15配置文件——odoo.conf代碼解析

odoo15開發

The default configuration file directory in the source code is odoo/debian/odoo.conf
For the convenience of programmers modifying the file path, this configuration file can be placed in the main file.

Each line has its own meaning:

; admin_passwd = admin

This password requires verification during account management, creation, restoration, deletion, and other operations to prevent malicious actions. Defaultadmin

db_host = 127.0.0.1

Database host address, default is localhost

db_port = 5432

Database port, default5432

db_user = odoo

User connecting to the database

db_password = odoo

User password for connecting to data

addons_path = odoo/addons,odoo/xiaoke

Module storage directories, separate multiple directories with ,

data_dir = data

File storage directory, storingodoo'ssession, cache, and attachments

logfile = logs/openerp-server.log

Log file storage path

logrotate = True

Generate a log file daily

log_db = False

Whether to writelog into thedb'sir_logging table

list_db = False

Whether to allow displaying the database list

dbfilter = .*

Filter the database names to be displayed, the value is^%d$, i.e., use the second-level domain as the default account set name

log_level = info

Log level, optional values include: debug_rpc_answer, debug_rpc, debug, debug_sql, info, warn, error, critical

log_handler = :INFO

It can be a set ofmodule:log_level pairs, the default value is:INFO (indicating that the default log level for all modules isINFO level)

csv_internal_sep = ,

The default delimiter forcsvfiles used for import and export

关于我们

​我们致力于帮助中小企业实现数字化转型,我们的团队由一群充满激情和创新思维的专业人士组成,他们具备丰富的行业经验和技术专长。

扫一扫获取顾问以及手册

归档
登入 發表評論
odoo開發:search()和search_read()區別