[fix] Database unavailable on 11.0
This commit is contained in:
parent
36afe79b29
commit
31f7868194
3 changed files with 2 additions and 1 deletions
|
@ -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
BIN
scripts/.restore.swp
Normal file
Binary file not shown.
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue