Hi,
I have written a convoluted program like this to set the password of
the database admin which then prompts for the password.
import trytond
import trytond.admin
class Mytest() :
def __init__(self) :
self.database_names=[ 'mydb']
self.update=''
self.languages=''
self.update_modules_list=['country']
self.password='mypassword' ### Would like this password to
be set
xx = Mytest()
trytond.admin.run(xx)
=================
Is there a simpler easier way to set the admin password by code?
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/b7ee890e-f68f-4fa6-983a-a3098c95bd4f%40googlegroups.com.