1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00
This commit is contained in:
scith 2015-09-14 18:56:06 +02:00
parent 0c5dd4bb0a
commit 4a4b0d399f
2 changed files with 5 additions and 7 deletions

View file

@ -5,10 +5,6 @@ db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/addons
;Log settings
logfile = /var/log/odoo/odoo-server.log
log_level = error
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons
proxy_mode = true
dbfilter = %h
init = auth_ldap
dbfilter = %h

View file

@ -37,7 +37,9 @@ sudo yunohost app setting $app domain -v $domain
sudo apt-get -y install odoo
# Set admin password
sudo sed -i "s@admin_passwd = admin@admin_passwd = $admin_password@g" /etc/odoo/openerp-server.conf
sudo sed -i "s@admin_passwd = admin@admin_passwd = $admin_password@g" ../conf/openerp-server.conf
sudo cp ../conf/openerp-server.conf /etc/odoo/openerp-server.conf
sudo chown odoo:odoo /etc/odoo/openerp-server.conf
# Setup LDAP
sudo sed -i "s@'auto_install': False@'auto_install': True@g" /usr/lib/python2.7/dist-packages/openerp/addons/auth_ldap/__openerp__.py