1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00
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')