IRC logs of #tryton for Wednesday, 2016-02-10

chat.freenode.net #tryton log beginning Wed Feb 10 00:00:02 CET 2016
2016-02-10 01:42 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-10 04:40 -!- JosDzGx(~Thunderbi@189.148.161.75) has joined #tryton
2016-02-10 05:36 -!- kstenger1(~karla@r179-24-187-239.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-10 07:40 -!- frispete_(~frispete@p54A90CCE.dip0.t-ipconnect.de) has joined #tryton
2016-02-10 07:48 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-02-10 08:19 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-02-10 08:21 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-02-10 08:33 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-02-10 09:22 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-02-10 09:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-02-10 09:37 -!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has left #tryton
2016-02-10 09:46 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2016-02-10 10:41 <dj_xatra> The library example (http://tryton-documentation.readthedocs.org/en/latest/developer_guide/example_library_1.html) looks like a nice intro. Is that still current for the latest Tryton version?
2016-02-10 10:43 <cedk> I don't know but it is a pity that it doesn't reuse the training module: http://hg.tryton.org/training/
2016-02-10 10:47 <dj_xatra> Is there a tutorial that does use the training module?
2016-02-10 10:47 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-02-10 10:54 <meanmicio> I think we should re-introduce the style on reports.
2016-02-10 10:54 <cedk> dj_xatra: there is: http://downloads.tryton.org/TUL2014/crash-course.pdf
2016-02-10 10:54 <cedk> meanmicio: I think no
2016-02-10 10:55 <cedk> meanmicio: it doesn't work properly
2016-02-10 10:56 <meanmicio> cedk : Extending a report (ie, adding a logo) was simpler, and it scaled better than today
2016-02-10 10:56 <cedk> meanmicio: it was a crappy hack that did not work
2016-02-10 10:56 <meanmicio> cedk : :)
2016-02-10 10:59 <meanmicio> cedk : So we should come up with an easy solution that allows to customize the header / footer , as you do in the company model, but with more features (such as including images)
2016-02-10 11:00 <meanmicio> cedk : going through each standard report is not scalable, for a simple task as adding a logo
2016-02-10 11:01 <cedk> meanmicio: I don't think there is so much report
2016-02-10 11:01 <cedk> meanmicio: we live in a paperless world
2016-02-10 11:01 <meanmicio> cedk : Sure. We send the report in pdf via email. Not on paper
2016-02-10 11:04 <cedk> meanmicio: logo could be managed as the company header/footer
2016-02-10 11:04 <cedk> meanmicio: I don't see a problem to include such option in base
2016-02-10 11:08 <meanmicio> cedk : That would be great
2016-02-10 11:09 <meanmicio> cedk : So we can have a fixed (left, right,..) position and size for the logo in the header.
2016-02-10 11:37 <pokoli> cedk: meanmicio we have a module for defining the logo in the company https://bitbucket.org/trytonspain/trytond-company_logo
2016-02-10 11:39 <cedk> pokoli: does it deserve a module?
2016-02-10 11:40 <cedk> pokoli: a module to add 1 field, seriously…
2016-02-10 11:41 <pokoli> cedk: If it's included on base it does not reserve a module
2016-02-10 11:43 <cedk> pokoli: even if not
2016-02-10 11:44 <cedk> pokoli: this is insane to create a module to add 1 single field with no real usage
2016-02-10 11:48 <pokoli> cedk: we use it ass dependency for other X modules that use the field in the report
2016-02-10 11:48 <pokoli> cedk: what you suggest to copy the field to all the other modules?
2016-02-10 11:49 <cedk> pokoli: it sounds like bad design
2016-02-10 11:57 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-02-10 12:06 -!- mariomop(~quassel@181.95.136.57) has joined #tryton
2016-02-10 12:16 <pokoli> cedk: so what will be a good design?
2016-02-10 12:31 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton
2016-02-10 12:34 -!- csotelo_(~csotelo@190.232.71.228) has joined #tryton
2016-02-10 13:12 <cedk> pokoli: don't know the usage
2016-02-10 13:38 <pokoli> cedk: we use the logo field in reports
2016-02-10 13:39 <cedk> pokoli: so it is customization and so it has no sense to publish it
2016-02-10 13:39 <cedk> pokoli: but of course, it would have been smarter to talk about the need and see if it can be in base
2016-02-10 13:43 <pokoli> cedk: Ok, so lets go for what we need in base. Logo, width and height is OK?
2016-02-10 13:45 <cedk> pokoli: https://discuss.tryton.org/ :-)
2016-02-10 13:46 <pokoli> cedk: with roundup credentials? Or I have to register?
2016-02-10 13:47 <cedk> pokoli: new register
2016-02-10 13:48 <pokoli> cedk: and Why not an issue?
2016-02-10 13:49 <cedk> pokoli: it is better to discuss first
2016-02-10 13:49 -!- den2204(~mahon@178.141.255.129) has joined #tryton
2016-02-10 13:49 <cedk> I'm pretty sure there are many usage/needs for such feature
2016-02-10 13:50 <cedk> like the position of the logo, what to do if there is no logo etc.
2016-02-10 13:50 <cedk> and maybe there is more needs
2016-02-10 13:50 <pokoli> cedk: I'm afraid we will end up with so much fields
2016-02-10 13:51 <cedk> pokoli: that will be the goal of the discussion to reduce to a minimal set
2016-02-10 13:51 <cedk> that matchs 80-90% of the cases
2016-02-10 13:57 <pokoli> cedk: https://discuss.tryton.org/t/company-logo-in-reports/25
2016-02-10 14:11 -!- den2204_(~mahon@178.141.255.129) has joined #tryton
2016-02-10 14:20 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2016-02-10 15:00 <cedk> pokoli: with discuss, I think it is good to update the topic to match the concensus that emerge
2016-02-10 15:00 <cedk> pokoli: in some way, the original author is responsible for the final of this topic
2016-02-10 15:13 <pokoli> cedk: I agree, but I think we have to add a topic explaining all those things
2016-02-10 15:16 <cedk> pokoli: you can also change your post into a wiki
2016-02-10 15:19 <pokoli> cedk: how i do this? I don't understand
2016-02-10 15:38 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-02-10 15:43 <cedk> pokoli: you have an option on your post to switch to wiki
2016-02-10 15:45 <cedk> pokoli: click on "..." (show more)
2016-02-10 15:45 <cedk> pokoli: and normally you have an option "Make Wiki"
2016-02-10 15:47 <pokoli> cedk: I can not see this option. I'm only see edit, bookmark and permanlink :S
2016-02-10 15:48 <pokoli> cedk: nor I can see it on a new post creating page
2016-02-10 15:53 <cedk> pokoli: I guess it is linked to your level
2016-02-10 15:55 <dj_xatra> Where in the docs can I find info about what "res_model" means for window action?
2016-02-10 15:55 <pokoli> cedk: so you can update it?
2016-02-10 15:59 <cedk> pokoli: yes I can turn it into wiki
2016-02-10 15:59 <cedk> pokoli: done
2016-02-10 16:50 -!- VaticanCameos(~VaticanCa@182.68.173.188) has joined #tryton
2016-02-10 17:11 -!- JosDzG(~Thunderbi@189.148.161.75) has joined #tryton
2016-02-10 17:27 -!- juanfe(~juanfe@181.143.145.58) has joined #tryton
2016-02-10 17:38 -!- kstenger(~karla@r167-56-235-101.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-10 18:10 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-02-10 18:33 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-02-10 18:39 -!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton
2016-02-10 20:13 -!- frispete(~frispete@p54A90CCE.dip0.t-ipconnect.de) has joined #tryton
2016-02-10 22:37 -!- nelek_(~nf@ip-83-134-57-177.dsl.scarlet.be) has joined #tryton
2016-02-10 22:43 -!- kstenger1(~karla@r167-56-235-101.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-02-10 22:44 -!- leio_(~leio@gentoo/developer/leio) has joined #tryton
2016-02-10 22:53 -!- nelek(~nf@unaffiliated/nelek) has joined #tryton
2016-02-10 23:01 -!- nh2(~niklas@2a02:168:6406:0:bda8:f09a:dd0d:495b) has joined #tryton
2016-02-10 23:02 <nh2> hi, can anybody explain me how to "just start" Tryton with an sqlite backend after having installed it tryton and trytond via pip?
2016-02-10 23:02 -!- sisalp(~sisalpuse@boxoo.sisalp.net) has joined #tryton
2016-02-10 23:03 <nh2> the UI configuration seems inherently hardcoded to a host:port config, even though the docs say that `sqlite://` is the default database
2016-02-10 23:03 <nh2> I've tried for half an hour now to just get the UI up, but I didn't manage, so any help would be appreciated
2016-02-10 23:04 <cedk> nh2: quite confuse you are talking about sqlite and the UI
2016-02-10 23:04 <cedk> nh2: sqlite is a configuration of the server
2016-02-10 23:04 <cedk> nh2: in UI, you just have to put the host of the server
2016-02-10 23:06 <nh2> cedk: what confuses me is that in the client (I'm using the `neso` executable, is that right?) it allows me to create databases and such
2016-02-10 23:06 <cedk> nh2: ha you are using neso
2016-02-10 23:07 <nh2> I mean I'm happy to use trytond+tryton as well, whichever is easier / more supported; I just read in some docs that for a single user setup neso might be easier
2016-02-10 23:08 <cedk> nh2: so what is the problem with neso?
2016-02-10 23:09 <nh2> cedk: So let's see if I'm doing this right. I start `neso` from my virtualenv without args. A `Login` window popsup, with a Database "Create" button, and a user name and password field. Should I hit create?
2016-02-10 23:09 <cedk> nh2: yes
2016-02-10 23:09 <cedk> nh2: you need to create at least one database
2016-02-10 23:10 <nh2> OK, then I'm in the "Create new database" dialogue. First thing is "server connection", which is currently set to "localhost:8000". That seems wrong to me, since sqlite uses files and no ports. Should I hit "Change" next to it?
2016-02-10 23:12 <cedk> nh2: no, it is because neso is a bundle of the client and the server
2016-02-10 23:12 <cedk> nh2: so it simulate a local connection
2016-02-10 23:13 <nh2> cedk: OK, so I leave that to `localhost:8000`. Now "Tryton server password", do I need to enter something, or leave it blank?
2016-02-10 23:14 -!- nelek(~nf@unaffiliated/nelek) has joined #tryton
2016-02-10 23:15 <cedk> nh2: you can leave it empty, it is again something that come from the client/server bundle
2016-02-10 23:16 <cedk> nh2: indeed it should be filled but any value works
2016-02-10 23:24 -!- nh2(~niklas@2a02:168:6406:0:bda8:f09a:dd0d:495b) has joined #tryton
2016-02-10 23:27 <nh2> cedk: OK, so I clicked "Create" having them all set to "test"; then the UI hangs for 17 seconds, and now I'm back at the Login window with the database set to test. But if I set "User name" and "Password" to "test", and click "Connect", I get "Connection error! Bad username or password!"
2016-02-10 23:29 <cedk> nh2: because admin user is hardcoded to admin
2016-02-10 23:32 <nh2> cedk: so what should I enter here, test/admin, admin/test, admin/admin all don't work
2016-02-10 23:39 <cedk> nh2: admin as user and the admin password you entered at the creation
2016-02-10 23:47 <nh2> cedk: OK, that worked, thank you! Is there a list of pip modules for which it makes sense to install by default? I'd like to do mainly accounting for my company
2016-02-10 23:50 <cedk> nh2: the advise is to install only what you need
2016-02-10 23:50 <cedk> nh2: I most also warn you that neso purpose is more for testing than production usage
2016-02-10 23:51 <cedk> nh2: as it is based on sqlite, it will not scale too much and lack of some features
2016-02-10 23:51 <cedk> nh2: also it is very complicate to switch from sqlite to postgresql later
2016-02-10 23:51 <nh2> cedk: OK, once I have tried it out a bit, I'll be happy to install postgres for my real usage
2016-02-10 23:54 <cedk> nh2: and for accounting abviously take a look at all the account_* modules
2016-02-10 23:55 <cedk> nh2: but don't install module you don't need
2016-02-10 23:58 -!- nelek(~nf@unaffiliated/nelek) has joined #tryton

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