[fix] Database unavailable on 11.0

This commit is contained in:
ljf 2018-09-19 18:20:58 +02:00
parent 36afe79b29
commit 31f7868194
3 changed files with 2 additions and 1 deletions

View file

@ -8,4 +8,4 @@ db_user = odoo
db_password = {{ dbpass }}
addons_path = {{ source_path }}addons
proxy_mode = true
dbfilter = %h
dbfilter = ^{{ database }}$

BIN
scripts/.restore.swp Normal file

Binary file not shown.

View file

@ -35,6 +35,7 @@ define_dbpass
#=================================================
function setup_files() {
# Set admin password
export database=${domain//./-}
ynh_configure openerp-server.conf $conf_file
chown odoo:odoo $conf_file