From 31f78681940286a9a61157f3d8165e2bb27b1ebe Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 19 Sep 2018 18:20:58 +0200 Subject: [PATCH] [fix] Database unavailable on 11.0 --- conf/openerp-server.conf.j2 | 2 +- scripts/.restore.swp | Bin 0 -> 12288 bytes scripts/install | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 scripts/.restore.swp 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 0000000000000000000000000000000000000000..85dbe9a7be1da0f5c833f67db57cd8764770982c GIT binary patch literal 12288 zcmeI2L2nyH6vwAXAZRHdIB}t`wk2AGchYic8*)e;msnNoDoH_6R955NvAyYfXR|Y# zG%5k90&zh|oZ#FOMCe5}S)nW59K-VxW7*Azn-B2jdylbrYf!Wv`J_>%a%qe_!tz5nmZ9#*kn>0l^x~yh?wNl&ql5b#sepj*?|QwLtBAKi;nz$xGq za0)mDoB~b(r+`zyDc}@v3OEIv0{=q=M9A1P&obschsERn|K<1pKVM|*5AZwq1v~~{ zfV*G|ybtbxd2ky1_yS`OK@R#r01uo2Kc8jn8}J#}12NbHJ#ZD^-;(TU@ayx8eGR?> zAAt8j3%m+`I>XoxU>{rt=fG>=uhWb@0^fqq!KdI8@G;m1t6(0S1HU20$KX5g2z&`1 z00a8qHdq3ez#QP9(4`67;}mcTI0c*nP64OD306RBwJVG-lF%a^&pK#Q<--muT`x55hiWXMgmaHKCu^wF>g0wdl~!z!CxMAnLI-7`3m54=`Gi5BCTn=so0Z{HArfD+vL-ZfI8|hK!nV)frH6_Z6A025V{ZlrUy1*QOMcY;e{a z)F7?KlE#tNQ8KjNWQ_7FR~U@cZc^p)T2&ZUrSj8u%&&THaGTe3=#Tos3Ut6pbJecz znq4H{5gCu8zP+x?E6bU5*tTdun^bF5#ap8VGFdL^&OAY|oPrMtKFtk ziz@!AQ*I`u4)}j?6SRjNSCR5)RGC7ds+~MZYNO#$?ykP~J6bGZ~5`pbr&| z4*aAfERVYb|!^db`wd={R1QyjQ4EoMCC+kE38=u52pW z7aA9ex0v _AReqvhOBA<$S=$IM1YVbtt!-h>PssUK( zLSv)5?4!c`PIqm6vD<3<#i5FCy9mu>BK477rd6H=l01)3Bh}S4cRx_$u}VBWI@D^A v8yr(JRy@}k*CU)cPcG7rWSpX)Q2w2EkK+`-sz&T@<{Nro literal 0 HcmV?d00001 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