From c67112a7715fb473948dd05682e87c5cad7949bb Mon Sep 17 00:00:00 2001 From: ljf Date: Wed, 14 Dec 2016 21:55:08 +0100 Subject: [PATCH] [fix] Configure ldap --- scripts/install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d04aa5b..bdc7a65 100644 --- a/scripts/install +++ b/scripts/install @@ -118,8 +118,12 @@ sudo service postgresql reload # Setup database: not working database=${domain//./-} + +# Load translation sudo /usr/bin/openerp-server -c /etc/odoo/openerp-server.conf --stop-after-init -d $database --load-language $lang -sudo /usr/bin/openerp-server -c /etc/odoo/openerp-server.conf shell <<< \ + +# Configure language, timezone and ldap +sudo /usr/bin/openerp-server shell -c /etc/odoo/openerp-server.conf --stop-after-init -d $database <<< \ " self.change_password('admin','$admin_password') self.write({'tz':'$tz','lang':'$lang'})