libreerp_ynh/conf/install_database.py
2015-09-16 12:13:00 +02:00

4 lines
No EOL
177 B
Python

#!/usr/bin/python
import oerplib
oerp = oerplib.OERP(server='localhost')
oer.db.create_database('ADMIN_PASSWORD', 'DOMAIN_DATABASE', False, 'DATABASE_LANG', 'DATABASE_PASSWORD')