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

4 lines
207 B
Python
Raw Normal View History

2015-09-16 12:13:00 +02:00
#!/usr/bin/python
import oerplib
2015-09-16 12:28:32 +02:00
oerp = oerplib.OERP(server='localhost', protocol='xmlrpc', port=8069)
2015-09-16 12:13:00 +02:00
oer.db.create_database('ADMIN_PASSWORD', 'DOMAIN_DATABASE', False, 'DATABASE_LANG', 'DATABASE_PASSWORD')