Skip to content

Commit 8884f0d

Browse files
[FIX] 19.0: adapt odoo.cfg.tmpl
Supresses the following warnings: ``` odoo.tools.config: unknown option 'auto_reload' in the config file at /odoo/odoo.cfg, option stored as-is, without parsing odoo.tools.config: unknown option 'logrotate' in the config file at /odoo/odoo.cfg, option stored as-is, without parsing odoo.tools.config: missing --http-interface/http_interface, using 0.0.0.0 by default, will change to 127.0.0.1 in 20.0 ```
1 parent ea32cca commit 8884f0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

19.0/templates/odoo.cfg.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[options]
22
addons_path = {{ .Env.ADDONS_PATH }}
33
data_dir = /odoo/data/odoo
4-
auto_reload = False
54
db_host = {{ .Env.DB_HOST }}
65
db_name = {{ .Env.DB_NAME }}
76
db_user = {{ .Env.DB_USER }}
@@ -23,11 +22,11 @@ max_cron_threads = {{ default .Env.MAX_CRON_THREADS "2" }}
2322
workers = {{ default .Env.WORKERS "4" }}
2423
logfile = {{ default .Env.LOGFILE "None" }}
2524
log_db = {{ default .Env.LOG_DB "None" }}
26-
logrotate = True
2725
syslog = {{ default .Env.SYSLOG "False" }}
2826
running_env = {{ default .Env.RUNNING_ENV "dev" }}
2927
without_demo = {{ default .Env.WITHOUT_DEMO "True" }}
3028
server_wide_modules = {{ default .Env.SERVER_WIDE_MODULES "" }}
29+
http_interface = 0.0.0.0
3130
; db_sslmode =
3231
; We can activate proxy_mode even if we are not behind a proxy, because
3332
; it is used only if HTTP_X_FORWARDED_HOST is set in environ

0 commit comments

Comments
 (0)