diff --git a/conf/openerp-server.conf.j2 b/conf/openerp-server.conf.j2 index 4419fa4..68ec4d5 100644 --- a/conf/openerp-server.conf.j2 +++ b/conf/openerp-server.conf.j2 @@ -8,4 +8,4 @@ db_user = odoo db_password = {{ dbpass }} addons_path = {{ source_path }}addons proxy_mode = true -dbfilter = %h +dbfilter = ^{{ database }}$ diff --git a/scripts/.restore.swp b/scripts/.restore.swp new file mode 100644 index 0000000..85dbe9a Binary files /dev/null and b/scripts/.restore.swp differ diff --git a/scripts/install b/scripts/install index 6996003..6239a16 100644 --- a/scripts/install +++ b/scripts/install @@ -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