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

chat.freenode.net #tryton log beginning Wed Feb 10 00:00:02 CET 2016
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:42
-!- JosDzGx(~Thunderbi@189.148.161.75) has joined #tryton04:40
-!- kstenger1(~karla@r179-24-187-239.dialup.adsl.anteldata.net.uy) has joined #tryton05:36
-!- frispete_(~frispete@p54A90CCE.dip0.t-ipconnect.de) has joined #tryton07:40
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:48
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:19
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:21
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:33
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton09:22
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:22
-!- saxa(~sasa@2-234-206-126.ip224.fastwebnet.it) has left #tryton09:37
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton09:46
dj_xatraThe 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?10:41
cedkI don't know but it is a pity that it doesn't reuse the training module: http://hg.tryton.org/training/10:43
dj_xatraIs there a tutorial that does use the training module?10:47
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton10:47
meanmicioI think we should re-introduce the style on reports.10:54
cedkdj_xatra: there is: http://downloads.tryton.org/TUL2014/crash-course.pdf10:54
cedkmeanmicio: I think no10:54
cedkmeanmicio: it doesn't work properly10:55
meanmiciocedk : Extending a report (ie, adding a logo) was simpler, and it scaled better than today10:56
cedkmeanmicio: it was a crappy hack that did not work10:56
meanmiciocedk : :)10:56
meanmiciocedk : 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)10:59
meanmiciocedk : going through each standard report is not scalable, for a simple task as adding a logo11:00
cedkmeanmicio: I don't think there is so much report11:01
cedkmeanmicio: we live in a paperless world11:01
meanmiciocedk : Sure. We send the report in pdf via email. Not on paper11:01
cedkmeanmicio: logo could be managed as the company header/footer11:04
cedkmeanmicio: I don't see a problem to include such option in base11:04
meanmiciocedk : That would be great11:08
meanmiciocedk : So we can have a fixed (left, right,..) position and size for the logo in the header.11:09
pokolicedk: meanmicio we have a module for defining the logo in the company https://bitbucket.org/trytonspain/trytond-company_logo11:37
cedkpokoli: does it deserve a module?11:39
cedkpokoli: a module to add 1 field, seriously…11:40
pokolicedk: If it's included on base it does not reserve a module11:41
cedkpokoli: even if not11:43
cedkpokoli: this is insane to create a module to add 1 single field with no real usage11:44
pokolicedk: we use it ass dependency for other X modules that use the field in the report11:48
pokolicedk: what you suggest to copy the field to all the other modules?11:48
cedkpokoli: it sounds like bad design11:49
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton11:57
-!- mariomop(~quassel@181.95.136.57) has joined #tryton12:06
pokolicedk: so what will be a good design?12:16
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton12:31
-!- csotelo_(~csotelo@190.232.71.228) has joined #tryton12:34
cedkpokoli: don't know the usage13:12
pokolicedk: we use the logo field in reports13:38
cedkpokoli: so it is customization and so it has no sense to publish it13:39
cedkpokoli: but of course, it would have been smarter to talk about the need and see if it can be in base13:39
pokolicedk: Ok, so lets go for what we need in base. Logo, width and height is OK?13:43
cedkpokoli: https://discuss.tryton.org/ :-)13:45
pokolicedk: with roundup credentials? Or I have to register?13:46
cedkpokoli: new register13:47
pokolicedk: and Why not an issue?13:48
cedkpokoli: it is better to discuss first13:49
-!- den2204(~mahon@178.141.255.129) has joined #tryton13:49
cedkI'm pretty sure there are many usage/needs for such feature13:49
cedklike the position of the logo, what to do if there is no logo etc.13:50
cedkand maybe there is more needs13:50
pokolicedk: I'm afraid we will end up with so much fields13:50
cedkpokoli: that will be the goal of the discussion to reduce to a minimal set13:51
cedkthat matchs 80-90% of the cases13:51
pokolicedk: https://discuss.tryton.org/t/company-logo-in-reports/2513:57
-!- den2204_(~mahon@178.141.255.129) has joined #tryton14:11
-!- aroncero(~aroncero@86.63.19.153) has joined #tryton14:20
cedkpokoli: with discuss, I think it is good to update the topic to match the concensus that emerge15:00
cedkpokoli: in some way, the original author is responsible for the final of this topic15:00
pokolicedk: I agree, but I think we have to add a topic explaining all those things15:13
cedkpokoli: you can also change your post into a wiki15:16
pokolicedk: how i do this? I don't understand15:19
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton15:38
cedkpokoli: you have an option on your post to switch to wiki15:43
cedkpokoli: click on "..." (show more)15:45
cedkpokoli: and normally you have an option "Make Wiki"15:45
pokolicedk: I can not see this option. I'm only see edit, bookmark and permanlink :S15:47
pokolicedk: nor I can see it on a new post creating page15:48
cedkpokoli: I guess it is linked to your level15:53
dj_xatraWhere in the docs can I find info about what "res_model" means for window action?15:55
pokolicedk: so you can update it?15:55
cedkpokoli: yes I can turn it into wiki15:59
cedkpokoli: done15:59
-!- VaticanCameos(~VaticanCa@182.68.173.188) has joined #tryton16:50
-!- JosDzG(~Thunderbi@189.148.161.75) has joined #tryton17:11
-!- juanfe(~juanfe@181.143.145.58) has joined #tryton17:27
-!- kstenger(~karla@r167-56-235-101.dialup.adsl.anteldata.net.uy) has joined #tryton17:38
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton18:10
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton18:33
-!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton18:39
-!- frispete(~frispete@p54A90CCE.dip0.t-ipconnect.de) has joined #tryton20:13
-!- nelek_(~nf@ip-83-134-57-177.dsl.scarlet.be) has joined #tryton22:37
-!- kstenger1(~karla@r167-56-235-101.dialup.adsl.anteldata.net.uy) has joined #tryton22:43
-!- leio_(~leio@gentoo/developer/leio) has joined #tryton22:44
-!- nelek(~nf@unaffiliated/nelek) has joined #tryton22:53
-!- nh2(~niklas@2a02:168:6406:0:bda8:f09a:dd0d:495b) has joined #tryton23:01
nh2hi, can anybody explain me how to "just start" Tryton with an sqlite backend after having installed it tryton and trytond via pip?23:02
-!- sisalp(~sisalpuse@boxoo.sisalp.net) has joined #tryton23:02
nh2the UI configuration seems inherently hardcoded to a host:port config, even though the docs say that `sqlite://` is the default database23:03
nh2I've tried for half an hour now to just get the UI up, but I didn't manage, so any help would be appreciated23:03
cedknh2: quite confuse you are talking about sqlite and the UI23:04
cedknh2: sqlite is a configuration of the server23:04
cedknh2: in UI, you just have to put the host of the server23:04
nh2cedk: what confuses me is that in the client (I'm using the `neso` executable, is that right?) it allows me to create databases and such23:06
cedknh2: ha you are using neso23:06
nh2I 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 easier23:07
cedknh2: so what is the problem with neso?23:08
nh2cedk: 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?23:09
cedknh2: yes23:09
cedknh2: you need to create at least one database23:09
nh2OK, 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?23:10
cedknh2: no, it is because neso is a bundle of the client and the server23:12
cedknh2: so it simulate a local connection23:12
nh2cedk: OK, so I leave that to `localhost:8000`. Now "Tryton server password", do I need to enter something, or leave it blank?23:13
-!- nelek(~nf@unaffiliated/nelek) has joined #tryton23:14
cedknh2: you can leave it empty, it is again something that come from the client/server bundle23:15
cedknh2: indeed it should be filled but any value works23:16
-!- nh2(~niklas@2a02:168:6406:0:bda8:f09a:dd0d:495b) has joined #tryton23:24
nh2cedk: 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!"23:27
cedknh2: because admin user is hardcoded to admin23:29
nh2cedk: so what should I enter here, test/admin, admin/test, admin/admin all don't work23:32
cedknh2: admin as user and the admin password you entered at the creation23:39
nh2cedk: 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 company23:47
cedknh2: the advise is to install only what you need23:50
cedknh2: I most also warn you that neso purpose is more for testing than production usage23:50
cedknh2: as it is based on sqlite, it will not scale too much and lack of some features23:51
cedknh2: also it is very complicate to switch from sqlite to postgresql later23:51
nh2cedk: OK, once I have tried it out a bit, I'll be happy to install postgres for my real usage23:51
cedknh2: and for accounting abviously take a look at all the account_* modules23:54
cedknh2: but don't install module you don't need23:55
-!- nelek(~nf@unaffiliated/nelek) has joined #tryton23:58

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!