mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[fix] Configure ldap
This commit is contained in:
parent
0666dd6cca
commit
c67112a771
1 changed files with 5 additions and 1 deletions
|
@ -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'})
|
||||
|
|
Loading…
Reference in a new issue