On Friday, June 9, 2017 at 11:55:20 PM UTC+9, Sergi Almacellas Abellana wrote: > > El 09/06/17 a les 16:50, Dr. Praveen Bhatia ha escrit: > > > > > > ================= > > Is there a simpler easier way to set the admin password by code? > You can use the TRYTONPASSFILE environment variable in conjunction with > the trytond-admin --password flag. Running: > > trytond-admin --help > > I want to do it within the python program and not go to the cmd shell. The reason is that I am experimenting with the company, and changing the program, dropping the database, creating again and restarting. So going to the command shell every time is irritating.
> Will give the full reference. > > Hope it helps. > > -- > Sergi Almacellas Abellana > www.koolpi.com > Twitter: @pokoli_srk > -- 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/c5c3e432-52c3-47ec-9ae9-c61a4f1be636%40googlegroups.com.
