mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
Autoinstall database
This commit is contained in:
parent
892eb003f0
commit
2d304bb1fe
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import oerplib
|
import oerplib
|
||||||
oerp = oerplib.OERP(server='localhost')
|
oerp = oerplib.OERP(server='localhost', protocol='xmlrpc', port=8069)
|
||||||
oer.db.create_database('ADMIN_PASSWORD', 'DOMAIN_DATABASE', False, 'DATABASE_LANG', 'DATABASE_PASSWORD')
|
oer.db.create_database('ADMIN_PASSWORD', 'DOMAIN_DATABASE', False, 'DATABASE_LANG', 'DATABASE_PASSWORD')
|
Loading…
Reference in a new issue