IRC logs of #tryton for Thursday, 2016-11-17

chat.freenode.net #tryton log beginning Thu Nov 17 00:00:01 CET 2016
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:40
-!- smarro(~sebastian@181.16.7.104) has joined #tryton01:31
-!- SamSagaZ(~SamSagaZ@101-241-231-201.fibertel.com.ar) has joined #tryton04:22
SamSagaZhi guys, someone know some module that let me save some steps when make a sale? i want to set payment and invoice at same time04:23
-!- thaneor(~ldlc6@r179-24-112-17.dialup.adsl.anteldata.net.uy) has joined #tryton05:57
-!- flachtassekasse(~flachtass@p5DD19156.dip0.t-ipconnect.de) has joined #tryton07:08
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:49
-!- flachtassekasse(~flachtass@p5DD1912C.dip0.t-ipconnect.de) has joined #tryton08:04
-!- afibanez(~afibanez@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton08:17
-!- JanGB(~jan@ipservice-092-216-122-042.092.216.pools.vodafone-ip.de) has joined #tryton08:24
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:47
-!- rpit(~rpit@2a02:908:e672:1520:56ee:75ff:fe0d:d3c7) has joined #tryton09:00
notizblockI have a question regarding report language settings. I have a sales report and its content is rendered in the user's defined language. So, if the user lang is set to german, the report will be rendered in german and so on. I would like the render the complete report in the language defined on the party.09:32
notizblockI have these lines at the top of the report:09:33
notizblock<set_lang(sale.party.lang and sale.party.lang.code or 'en_US')>09:33
notizblock<sale.set_lang(sale.party.lang and sale.party.lang.code or 'en_US')>09:33
-!- rpit(~rpit@2a02:908:e672:1520:56ee:75ff:fe0d:d3c7) has joined #tryton09:33
notizblockonly the product details of the sale report are rendered in the language defined on the party but not the other content such as table headers and the like09:34
notizblockIs there some setting I missed to accomplish this?09:36
Timitosnotizblock: we face some similar problems on 3.4. you can try to ping udono. but he is not online for the moment09:40
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:41
notizblockTimitos: thx for the hint09:41
notizblockI forgot to mention, we are on 4.009:41
Timitosshould be not so different between these two versions i think09:42
notizblockTimitos: I suppose, yes09:42
cedkSamSagaZ: there is a blueprint about this topic: https://discuss.tryton.org/t/sale-payment-before-validation/23009:49
notizblockGot it: I moved the the lines above below the report's page break09:50
notizblocknow the complete report is either in german or english, depending on the language defined on party.09:51
notizblockI suspect it has to do with the "page break before" on the first paragraph09:54
cedknotizblock: I guess your statement is removed by the for loop09:57
cedknotizblock: relatorio removes completly lines with control statement like for, if etc.09:59
notizblockcedk: yes, basically everything is dropped between the beginning of the for loop and the position after the page break09:59
cedknotizblock: also in ODT page break is indeed a break before the tag10:00
notizblockcedk: thx for the hint10:02
-!- udono(~udono@tmo-112-161.customers.d1-online.com) has joined #tryton10:04
notizblockcedk: the first line (<set_lang …>) got stripped due to a line break (instead of a paragraph break)10:17
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:03
SamSagaZcedk, thanks11:30
-!- mariomop(~quassel@181.110.156.245) has joined #tryton11:59
-!- JanGB(~jan@x59cc9aba.dyn.telefonica.de) has joined #tryton13:42
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:56
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:58
pokolicedk: should we apply https://bitbucket.org/trytonspain/cookiecutter-tryton/commits/50a57046ead67398c4ee4ef75f93ee72296834a0 to hg.tryton.org/cookiecutter ?14:45
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton15:06
-!- JanGB(~jan@x59cc9aba.dyn.telefonica.de) has joined #tryton15:12
-!- JanGB(~jan@x59cc9aba.dyn.telefonica.de) has left #tryton15:13
-!- nando_(~nando@179.7.82.25) has joined #tryton15:17
nicoepokoli: I think so15:23
-!- smarro(~sebastian@181.16.7.104) has joined #tryton15:31
-!- JanGB1(~jan@145.253.113.2) has joined #tryton15:39
-!- kstenger(~karla@r186-49-248-138.dialup.adsl.anteldata.net.uy) has joined #tryton15:48
-!- kstenger(~karla@r190-133-125-204.dialup.adsl.anteldata.net.uy) has joined #tryton16:10
-!- nando_(~nando@179.7.82.25) has joined #tryton16:41
-!- Timitos(~kpreisler@tmo-096-248.customers.d1-online.com) has joined #tryton17:17
cedkpokoli: of course17:23
pokolinicoe: cedk: shald I push directly this commit? Or do you want a issue/review?17:27
nicoepokoli: https://www.youtube.com/watch?v=vCadcBR95oU17:27
cedkpokoli: I think you can push17:29
cedkpokoli: but put the issue number of the install->activate17:29
-!- JanGB(~jan@145.253.113.2) has joined #tryton17:40
-!- perilla1(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton17:43
-!- morfeokmg(~smuxi@189.146.74.245) has joined #tryton17:48
-!- udono(~udono@ip-178-202-243-21.hsi09.unitymediagroup.de) has joined #tryton17:57
-!- thaneor(~ldlc6@r179-25-190-10.dialup.adsl.anteldata.net.uy) has joined #tryton18:01
-!- smarro(~sebastian@181.16.7.104) has joined #tryton18:03
-!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton18:22
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:15
-!- JanGB(~jan@ipservice-092-216-122-042.092.216.pools.vodafone-ip.de) has joined #tryton19:19
-!- morfeokmg(~smuxi@189.146.74.245) has joined #tryton19:24
-!- morfeokmg(~smuxi@189.146.48.254) has joined #tryton20:27
-!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton20:41
-!- JosDzG(~Thunderbi@187.154.107.46) has joined #tryton21:36
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton23:07
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton23:16
-!- morfeokmg(~smuxi@189.146.48.254) has joined #tryton23:29
-!- mariomop(~quassel@181.110.156.245) has joined #tryton23:34
-!- stav(~stav@mtrlpq4381w-lp130-02-76-66-182-77.dsl.bell.ca) has joined #tryton23:35
stavhi?23:36
stavanyone here?23:36
stavdunno if i'm in the right place23:38
kstengerwhere do you want to be?23:38
stavcuba23:38
stavor crete23:38
kstengernop, wrong place23:39
stavactually wonering if anyone would have patience to help me setup tryton on local debian host?23:39
stavi can stumble around linux ... but would like to setup a production version of tryton to test23:40
kstengerbetter just explain what's your difficulty23:40
stavinstalled thru debian jessies synaptic pack manager23:41
stavdemo works great23:41
stavcan't create new database and configure same with user23:41
stavthe permissions and working inside postresql daunting23:41
stavif u didn't figure it out.. im not a programmer..23:42
stavbut would simply like to have a template to setup company and create one user (me) for now23:42
stavshould I embark on this ... after all.. i run a business and figure this type of product is for me?23:43
kstengerstav: it certainly can be what you need, but you will need to be more specific on what you need, some of us are programmers, but none is a guesser :-)23:44
stavi have read documentation but it seems geared for developers23:44
kstengerstav: where did you get stuck exactly?23:44
stavcreate a new database23:45
kstengerwhat did you try on your postgres so far?23:45
stavnothing... hoping was doable from file..database..new database23:47
kstengerok, which tryton version did you install?23:47
stavbut that brings me to a "create new database" dialog which specs fields that are fixed or wrong pass23:48
stav3.4.023:48
kstengerstav: https://www.postgresql.org/docs/current/static/sql-createdatabase.html for first creating a database in postgres23:52
stav...from synaptic package manager... debian jessie on 64bit virtualbox23:52
kstengerafter you create a DB in postgres you can initialize it with tryton like explained here http://doc.tryton.org/3.4/trytond/doc/topics/setup_database.html23:53
kstengerstav: go ahead, call if you get stuck23:54
stavsuweet! ill give it a go. thanks man!23:55
stav...umm how login from $ ?23:58
stavpsql -d mydb -U myuser don't work23:58
kstengerwhich error?23:58
stavroot@vDebJessHw10:/home/stav# psql -d mydb -U myuser23:59
stavpsql: FATAL:  Peer authentication failed for user "myuser"23:59
kstenger myuser should be "postgres" or another role you create(but I doubt you did)23:59

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