On Saturday, November 19, 2016 at 12:30:03 PM UTC+1, Cédric Krier wrote: > > On 2016-11-19 02:30, Alexander Davis wrote: > > Hello guys, > > > > I am looking at ways of simplifying the tryton client by producing an > exe > > file with our server and database settings pre-configured in a profile > > rather than making the end-user having to manage profiles. Sort of like > a > > "Kiosk Mode" if you will, where the end-user would just have to worry > about > > entering their username and password. I have the following questions: > > > > * Where does the Tryton client store the profile settings once it is > set. I > > noticed that once i setup a profile on my laptop it sticks no matter > what > > version of Tryton i use > > It is in profiles.cfg, see > http://doc.tryton.org/4.0/tryton/doc/usage.html#configuration-file > > Rem: On Windows, '~' is %APPDATA. > > > * Is it possible to package a config file within the onefile exe that > would > > already include the pre-configured profile like the demo_server is right > > now? I made changes to the config.py file pointing to my tryton server > but > > it didnt seem to make a difference. > > What about having a installer script which execute the tryton-setup.exe > and after that create the profile file and also tryton.conf. > > > I am not sure if this would be useful for other users but it would be > very > > useful for a project i am working on right now where the end-users would > > not be very tech-savvy > > You also have the option of sao, the web client. > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: [email protected] <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >
Hello again Cedric, After i cleared the config files in %APPDATA% and ran Tryton again using an edited config file, some settings have appeared to have changed according to what i wanted, but the default profile i created in the file does not replace the default demo.tryton even though the new server ip, port and credentials appear in their respective fields... Any idea what could be causing this? Alex -- 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/b8b06fc6-bd82-4f8c-8b74-dd28cbfe0450%40googlegroups.com.
