IRC logs of #tryton for Monday, 2017-03-13

chat.freenode.net #tryton log beginning Mon Mar 13 00:00:02 CET 2017
2017-03-13 01:00 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-03-13 03:27 -!- Guest45610(~gunit10@ip101.ip-178-32-108.eu) has joined #tryton
2017-03-13 07:23 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-03-13 07:30 -!- udono(~udono@093-059-210-188.ip-addr.inexio.net) has joined #tryton
2017-03-13 07:54 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-03-13 08:23 -!- rpit(~rpit@aftr-37-24-151-53.unity-media.net) has joined #tryton
2017-03-13 08:44 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2017-03-13 08:47 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-03-13 09:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-03-13 10:13 <pokoli> cedk: do you plan https://bugs.tryton.org/issue2349 for 4.4?
2017-03-13 10:14 <cedk> pokoli: yes
2017-03-13 10:14 <pokoli> cedk: great, I can help in migrating some models if you want
2017-03-13 10:20 -!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton
2017-03-13 10:32 -!- mamcode(~mamcode@201.211.6.240) has joined #tryton
2017-03-13 10:44 <cedk> pokoli: I think it will be hard to share
2017-03-13 10:48 <pokoli> cedk: ok, but if you find some way let me know. I will try to review all at least
2017-03-13 11:19 -!- thaneor(~ldlc6@179.26.123.28) has joined #tryton
2017-03-13 11:49 -!- mamcode(~mamcode@201.211.6.240) has joined #tryton
2017-03-13 12:10 -!- mariomop(~quassel@host172.186-124-150.telecom.net.ar) has joined #tryton
2017-03-13 13:02 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2017-03-13 14:52 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-03-13 15:56 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2017-03-13 16:06 -!- csotelo_at_work(~csotelo@179.43.99.44) has joined #tryton
2017-03-13 16:15 -!- savumies(~morato@189-12-136-191.user.veloxzone.com.br) has joined #tryton
2017-03-13 16:17 <savumies> pokoli: I'm running with the patch from issue6344. No issue found. Thanks for implementing this! =]
2017-03-13 16:19 <pokoli> savumies: happy that it's usefull for you :)
2017-03-13 16:31 -!- mamcode(~mamcode@190.75.162.82) has joined #tryton
2017-03-13 16:33 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 16:41 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 16:58 -!- savumies(~morato@189-12-190-194.user.veloxzone.com.br) has joined #tryton
2017-03-13 17:30 -!- kstenger(~karla@r179-24-189-54.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-03-13 18:26 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 18:48 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2017-03-13 19:31 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 20:25 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 20:36 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 20:53 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 21:30 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 21:44 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 21:47 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 21:58 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 22:02 -!- alexis(~alexis@37.165.103.230) has joined #tryton
2017-03-13 22:03 <alexis> Hi folks!
2017-03-13 22:03 <alexis> I'm trying to setup Tryton locally
2017-03-13 22:04 <alexis> Using a sqlite backend, when I try to run "trytond-admin -c /etc/tryton/trytond.conf -d vieuxsinge --all" it claims that the database doesn't exist, even if I did a "sudo touch /var/lib/tryton/vieuxsinge.sqlite" before.
2017-03-13 22:04 <alexis> The configuration file is using sqlite as a backend (default behaviour)
2017-03-13 22:05 <alexis> Version is trytond-admin 4.0.3
2017-03-13 22:08 <alexis> Hmm, interesting, it's looking for the database file in "/var/lib/trytond/vieuxsinge.sqlite" (with tryton*d* in the name)
2017-03-13 22:08 <alexis> Even if the config states "path = /var/lib/tryton"
2017-03-13 22:11 <alexis> Interesting enough: when I have the file created in /var/lib/tryton*d*/vieuxsinge.sqlite, I'm able to start the command line with "sudo trytond-admin -c /etc/tryton/trytond.conf -d vieuxsinge --all"
2017-03-13 22:11 <alexis> but it results in a database created in /var/lib/tryton (without the d at the end).
2017-03-13 22:17 -!- thaneor(~ldlc6@179.26.155.74) has joined #tryton
2017-03-13 22:17 <alexis> Hmm, okay now I'm in the interface, but ... I don't understand what I'm seeing.
2017-03-13 22:18 <alexis> Is there a "getting started" guide somewhere? The documentation is only talking about stuff for coders, not end users, it seems.
2017-03-13 22:21 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 22:24 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 22:39 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 22:42 <cedk> alexis: what is the database path in the configuration file?
2017-03-13 22:42 <cedk> alexis: by the way, trytond does not create the database even for sqlite
2017-03-13 22:43 <cedk> alexis: for sqlite, you have to just touch the file
2017-03-13 22:47 <cedk> alexis: from the client, you just have to set on the login popup: host, database and user
2017-03-13 22:47 <cedk> alexis: normally on database initialisation, trytond should have ask you to enter a password for the admin user
2017-03-13 22:56 <alexis> cedk: understood. I guess the problem what that the client didn't had the permission to write in the configured folder.
2017-03-13 22:57 <cedk> alexis: how is it possible?
2017-03-13 22:57 <cedk> alexis: it is ~/.config/tryton
2017-03-13 22:59 <alexis> nope, by default it's "/var/lib/tryton", from what I see in the config file stored in /etc/tryton
2017-03-13 22:59 <alexis> "path = /var/lib/tryton"
2017-03-13 23:00 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton
2017-03-13 23:00 <cedk> alexis: are you talking about the server or the client?
2017-03-13 23:01 <cedk> alexis: it seems it is the server
2017-03-13 23:01 <cedk> alexis: did you use distribution package?
2017-03-13 23:02 <alexis> yes, I've installed it from the ubuntu repositories
2017-03-13 23:02 <alexis> 16.10
2017-03-13 23:02 <alexis> I've installed both server and client
2017-03-13 23:03 <cedk> alexis: and what was the access right of the folder?
2017-03-13 23:03 <alexis> and then I've run the trytond-admin command to initialize the database; and quickly after that I did launch the client, and connected successfully;
2017-03-13 23:03 <alexis> cedk: which folder?
2017-03-13 23:04 <alexis> I chmod'ed +rwx the /var/lib/ folder to be accessible to my user.
2017-03-13 23:04 -!- trilliji(~trilliji@cpe-67-255-39-42.stny.res.rr.com) has joined #tryton
2017-03-13 23:04 <cedk> alexis: ha OK
2017-03-13 23:05 <cedk> alexis: I guess Ubuntu set it for the tryton system user
2017-03-13 23:05 <cedk> alexis: and so you should use this user when performing trytond-admin task
2017-03-13 23:05 <alexis> ah okay I see.
2017-03-13 23:05 <cedk> alexis: and not your personnal user
2017-03-13 23:07 <alexis> cedk: but then, once I'm connected with the client, I don't understand what I should do to setup my project.
2017-03-13 23:08 <alexis> cedk: I actually don't understand what this "client" is supposed to be: is it the client for me as an end user? is it something to configure the project? where do I (for instance) enter my invoices and stuff?
2017-03-13 23:09 <cedk> alexis: you must go to administration modules to activate the modules you want
2017-03-13 23:09 <cedk> alexis: the client is for both: end user and configuration
2017-03-13 23:10 <alexis> It shows me only two modules, apparently already activated
2017-03-13 23:10 <alexis> "ir" and "res"; I have no idea what they are.
2017-03-13 23:10 <cedk> alexis: so you have to install from Ubuntu some modules
2017-03-13 23:10 <cedk> alexis: it is the two base module for infrastructure and resource
2017-03-13 23:11 <alexis> cedk: ah okay gotcha
2017-03-13 23:12 <cedk> alexis: Tryton is more a framework to build your solution than a turn-key software
2017-03-13 23:12 <alexis> cedk: ah okay, I might be walking on the wrong track then.
2017-03-13 23:12 <cedk> alexis: but it is based on some concepts but once you get them it is consistant all over
2017-03-13 23:13 <cedk> alexis: but the base modules are usable out-of-the-box
2017-03-13 23:13 <alexis> okay :)
2017-03-13 23:13 <alexis> I'll give it a try anyway :)
2017-03-13 23:13 <cedk> alexis: we have custome from small business that use it raw for invoicing only for example
2017-03-13 23:15 <alexis> Hmm, I've installed the "tryton-modules-account-fr" module, but it doesn't show up in the UI
2017-03-13 23:15 <alexis> anything special I need to do?
2017-03-13 23:16 <cedk> alexis: you must run: trytond-admin -c <config> -d <database> --update-modules-list
2017-03-13 23:17 <alexis> Oh, it's just "--all"
2017-03-13 23:18 -!- JosDzG(~Thunderbi@189.250.83.167) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!