IRC logs of #tryton for Friday, 2016-02-12

chat.freenode.net #tryton log beginning Fri Feb 12 00:00:02 CET 2016
-!- nelek(~nf@unaffiliated/nelek) has joined #tryton00:29
-!- nelek(~nf@unaffiliated/nelek) has joined #tryton00:47
-!- nelek(~nf@unaffiliated/nelek) has joined #tryton01:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:43
csotelo_dear coders, is possible to set a domain based on a context value or user loged value?05:01
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton05:40
-!- kstenger(~karla@r179-24-187-124.dialup.adsl.anteldata.net.uy) has joined #tryton05:44
-!- frispete(~frispete@p54A91DAC.dip0.t-ipconnect.de) has joined #tryton07:40
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton07:59
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:00
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:13
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:39
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:05
-!- jcr(~jcr@61.142.180.234) has joined #tryton10:08
jcrhi everyone10:08
jcrI am having quite some problems setting up a tryton server with pgsql db10:09
jcrwhen I reach the step "initialize a database", the instruction ends with a Errno98 port in use error10:10
jcrother steps should be good, but the jsonrpc thing dosen't like it10:11
jcrchecking the 8000 port shows that tryton is already listening ...10:12
jcrI installed from debian stretch (tryton 3.8), both server and client, and the db is setup as shown in the doc10:13
jcrbecause I am setting up a server box from nothing, I can reinstall the whole system if needed, but I am afraid it won't solve the main problem ... is there a mandatory order of proceeding for the installation with pg ? (first set up db, then modify /etc/tryton/trytond.config, then run the trytond -c config etc. line ?10:17
jcrsorry I have to leave for the moment, I will check in tomorrow10:19
jcrthanks for any input ! :-)10:19
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton10:20
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton11:45
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton12:28
-!- juanfe(~juanfe@181.143.145.58) has joined #tryton13:21
-!- sisalp(~sisalpuse@boxoo.sisalp.net) has left #tryton13:26
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton13:42
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton14:18
-!- lukio(~lukio@186.19.251.90) has joined #tryton14:50
-!- nelek_(~nf@ip-83-134-57-46.dsl.scarlet.be) has joined #tryton14:58
-!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton15:02
csotelo_hello, I have a lazy questions, is there an event lie on_create? thanks15:26
csotelo_like*15:26
cedkcsotelo_: ModelStorage.create15:29
csotelo_cedk, I mean an event that is triggered on a record create. I guess create is a method to create records using a dict of values15:32
csotelo_or.. COuld I do something like def create(cls): Super().create() .....15:33
csotelo_without break the normal behavior?15:33
cedkcsotelo_: of course15:41
csotelo_perfect! Thanks15:41
cedkcsotelo_: Tryton moduliraty is not even based, it is real Python inheritage15:41
csotelo_Yeah..15:42
-!- mariomop(~quassel@181.110.60.220) has joined #tryton16:21
-!- nina(~nina@177.19.245.134) has joined #tryton17:15
ninaI created a new module to print a new report that will replace the old one. And also created his .po file, but some strings appear untranslated although I have them placed in the file. can someone help me?17:21
ninaI'd like also override some words.17:23
cedknina: how did you create it?17:42
ninacedk: I created the new health_history, and I used http://doc.tryton.org/3.8/trytond/doc/topics/reports/index.html?highlight=report replacing existing reports.17:45
-!- kstenger1(~karla@r179-24-186-139.dialup.adsl.anteldata.net.uy) has joined #tryton17:46
ninacedk: Do you like I send my module to you?17:46
cedknina: I mean: How did you create the translations?17:48
ninacedk: I copy the original translations of the module health_history and delete the words that I didn't want, I added the new words  and I kept the ones I wanted to subscribe17:53
cedknina: this will not work17:55
cedknina: you have to use the translations wizards17:55
cedknina: http://doc.tryton.org/3.8/trytond/doc/topics/translation.html17:56
ninacedk: In 'Override translations'?17:56
cedknina: no, you are doing a new report so it is new translations17:58
ninacedk: Ok, I thought that was override. Thanks.18:09
ninacedk: The translations is just for my odt file.18:11
cedknina: do the translation for your module18:11
ninacedk: ok18:11
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton18:21
-!- bechamel(~Adium@host-95-182-199-152.dynamic.voo.be) has joined #tryton18:41
-!- mholtzberg(~mholtzber@p50931afa.dip0.t-ipconnect.de) has joined #tryton18:41
-!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton19:49
-!- lukio(~lukio@186.19.251.90) has joined #tryton20:21
-!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton21:17

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