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

chat.freenode.net #tryton log beginning Thu Nov 17 00:00:01 CET 2016
2016-11-17 00:40 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-11-17 01:31 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-17 04:22 -!- SamSagaZ(~SamSagaZ@101-241-231-201.fibertel.com.ar) has joined #tryton
2016-11-17 04:23 <SamSagaZ> hi guys, someone know some module that let me save some steps when make a sale? i want to set payment and invoice at same time
2016-11-17 05:57 -!- thaneor(~ldlc6@r179-24-112-17.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-17 07:08 -!- flachtassekasse(~flachtass@p5DD19156.dip0.t-ipconnect.de) has joined #tryton
2016-11-17 07:49 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-11-17 08:04 -!- flachtassekasse(~flachtass@p5DD1912C.dip0.t-ipconnect.de) has joined #tryton
2016-11-17 08:17 -!- afibanez(~afibanez@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton
2016-11-17 08:24 -!- JanGB(~jan@ipservice-092-216-122-042.092.216.pools.vodafone-ip.de) has joined #tryton
2016-11-17 08:47 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-11-17 09:00 -!- rpit(~rpit@2a02:908:e672:1520:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-11-17 09:32 <notizblock> I 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.
2016-11-17 09:33 <notizblock> I have these lines at the top of the report:
2016-11-17 09:33 <notizblock> <set_lang(sale.party.lang and sale.party.lang.code or 'en_US')>
2016-11-17 09:33 <notizblock> <sale.set_lang(sale.party.lang and sale.party.lang.code or 'en_US')>
2016-11-17 09:33 -!- rpit(~rpit@2a02:908:e672:1520:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-11-17 09:34 <notizblock> only 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 like
2016-11-17 09:36 <notizblock> Is there some setting I missed to accomplish this?
2016-11-17 09:40 <Timitos> notizblock: we face some similar problems on 3.4. you can try to ping udono. but he is not online for the moment
2016-11-17 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-11-17 09:41 <notizblock> Timitos: thx for the hint
2016-11-17 09:41 <notizblock> I forgot to mention, we are on 4.0
2016-11-17 09:42 <Timitos> should be not so different between these two versions i think
2016-11-17 09:42 <notizblock> Timitos: I suppose, yes
2016-11-17 09:49 <cedk> SamSagaZ: there is a blueprint about this topic: https://discuss.tryton.org/t/sale-payment-before-validation/230
2016-11-17 09:50 <notizblock> Got it: I moved the the lines above below the report's page break
2016-11-17 09:51 <notizblock> now the complete report is either in german or english, depending on the language defined on party.
2016-11-17 09:54 <notizblock> I suspect it has to do with the "page break before" on the first paragraph
2016-11-17 09:57 <cedk> notizblock: I guess your statement is removed by the for loop
2016-11-17 09:59 <cedk> notizblock: relatorio removes completly lines with control statement like for, if etc.
2016-11-17 09:59 <notizblock> cedk: yes, basically everything is dropped between the beginning of the for loop and the position after the page break
2016-11-17 10:00 <cedk> notizblock: also in ODT page break is indeed a break before the tag
2016-11-17 10:02 <notizblock> cedk: thx for the hint
2016-11-17 10:04 -!- udono(~udono@tmo-112-161.customers.d1-online.com) has joined #tryton
2016-11-17 10:17 <notizblock> cedk: the first line (<set_lang …>) got stripped due to a line break (instead of a paragraph break)
2016-11-17 11:03 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2016-11-17 11:30 <SamSagaZ> cedk, thanks
2016-11-17 11:59 -!- mariomop(~quassel@181.110.156.245) has joined #tryton
2016-11-17 13:42 -!- JanGB(~jan@x59cc9aba.dyn.telefonica.de) has joined #tryton
2016-11-17 13:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-11-17 13:58 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-17 14:45 <pokoli> cedk: should we apply https://bitbucket.org/trytonspain/cookiecutter-tryton/commits/50a57046ead67398c4ee4ef75f93ee72296834a0 to hg.tryton.org/cookiecutter ?
2016-11-17 15:06 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-11-17 15:12 -!- JanGB(~jan@x59cc9aba.dyn.telefonica.de) has joined #tryton
2016-11-17 15:13 -!- JanGB(~jan@x59cc9aba.dyn.telefonica.de) has left #tryton
2016-11-17 15:17 -!- nando_(~nando@179.7.82.25) has joined #tryton
2016-11-17 15:23 <nicoe> pokoli: I think so
2016-11-17 15:31 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-17 15:39 -!- JanGB1(~jan@145.253.113.2) has joined #tryton
2016-11-17 15:48 -!- kstenger(~karla@r186-49-248-138.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-17 16:10 -!- kstenger(~karla@r190-133-125-204.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-17 16:41 -!- nando_(~nando@179.7.82.25) has joined #tryton
2016-11-17 17:17 -!- Timitos(~kpreisler@tmo-096-248.customers.d1-online.com) has joined #tryton
2016-11-17 17:23 <cedk> pokoli: of course
2016-11-17 17:27 <pokoli> nicoe: cedk: shald I push directly this commit? Or do you want a issue/review?
2016-11-17 17:27 <nicoe> pokoli: https://www.youtube.com/watch?v=vCadcBR95oU
2016-11-17 17:29 <cedk> pokoli: I think you can push
2016-11-17 17:29 <cedk> pokoli: but put the issue number of the install->activate
2016-11-17 17:40 -!- JanGB(~jan@145.253.113.2) has joined #tryton
2016-11-17 17:43 -!- perilla1(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton
2016-11-17 17:48 -!- morfeokmg(~smuxi@189.146.74.245) has joined #tryton
2016-11-17 17:57 -!- udono(~udono@ip-178-202-243-21.hsi09.unitymediagroup.de) has joined #tryton
2016-11-17 18:01 -!- thaneor(~ldlc6@r179-25-190-10.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-11-17 18:03 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-11-17 18:22 -!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton
2016-11-17 19:15 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-11-17 19:19 -!- JanGB(~jan@ipservice-092-216-122-042.092.216.pools.vodafone-ip.de) has joined #tryton
2016-11-17 19:24 -!- morfeokmg(~smuxi@189.146.74.245) has joined #tryton
2016-11-17 20:27 -!- morfeokmg(~smuxi@189.146.48.254) has joined #tryton
2016-11-17 20:41 -!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton
2016-11-17 21:36 -!- JosDzG(~Thunderbi@187.154.107.46) has joined #tryton
2016-11-17 23:07 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-11-17 23:16 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-11-17 23:29 -!- morfeokmg(~smuxi@189.146.48.254) has joined #tryton
2016-11-17 23:34 -!- mariomop(~quassel@181.110.156.245) has joined #tryton
2016-11-17 23:35 -!- stav(~stav@mtrlpq4381w-lp130-02-76-66-182-77.dsl.bell.ca) has joined #tryton
2016-11-17 23:36 <stav> hi?
2016-11-17 23:36 <stav> anyone here?
2016-11-17 23:38 <stav> dunno if i'm in the right place
2016-11-17 23:38 <kstenger> where do you want to be?
2016-11-17 23:38 <stav> cuba
2016-11-17 23:38 <stav> or crete
2016-11-17 23:39 <kstenger> nop, wrong place
2016-11-17 23:39 <stav> actually wonering if anyone would have patience to help me setup tryton on local debian host?
2016-11-17 23:40 <stav> i can stumble around linux ... but would like to setup a production version of tryton to test
2016-11-17 23:40 <kstenger> better just explain what's your difficulty
2016-11-17 23:41 <stav> installed thru debian jessies synaptic pack manager
2016-11-17 23:41 <stav> demo works great
2016-11-17 23:41 <stav> can't create new database and configure same with user
2016-11-17 23:41 <stav> the permissions and working inside postresql daunting
2016-11-17 23:42 <stav> if u didn't figure it out.. im not a programmer..
2016-11-17 23:42 <stav> but would simply like to have a template to setup company and create one user (me) for now
2016-11-17 23:43 <stav> should I embark on this ... after all.. i run a business and figure this type of product is for me?
2016-11-17 23:44 <kstenger> stav: 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 :-)
2016-11-17 23:44 <stav> i have read documentation but it seems geared for developers
2016-11-17 23:44 <kstenger> stav: where did you get stuck exactly?
2016-11-17 23:45 <stav> create a new database
2016-11-17 23:45 <kstenger> what did you try on your postgres so far?
2016-11-17 23:47 <stav> nothing... hoping was doable from file..database..new database
2016-11-17 23:47 <kstenger> ok, which tryton version did you install?
2016-11-17 23:48 <stav> but that brings me to a "create new database" dialog which specs fields that are fixed or wrong pass
2016-11-17 23:48 <stav> 3.4.0
2016-11-17 23:52 <kstenger> stav: https://www.postgresql.org/docs/current/static/sql-createdatabase.html for first creating a database in postgres
2016-11-17 23:52 <stav> ...from synaptic package manager... debian jessie on 64bit virtualbox
2016-11-17 23:53 <kstenger> after 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.html
2016-11-17 23:54 <kstenger> stav: go ahead, call if you get stuck
2016-11-17 23:55 <stav> suweet! ill give it a go. thanks man!
2016-11-17 23:58 <stav> ...umm how login from $ ?
2016-11-17 23:58 <stav> psql -d mydb -U myuser don't work
2016-11-17 23:58 <kstenger> which error?
2016-11-17 23:59 <stav> root@vDebJessHw10:/home/stav# psql -d mydb -U myuser
2016-11-17 23:59 <stav> psql: FATAL: Peer authentication failed for user "myuser"
2016-11-17 23:59 <kstenger> myuser should be "postgres" or another role you create(but I doubt you did)

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