chat.freenode.net #tryton log beginning Thu Jul 14 00:00:01 CEST 2016 | ||
2016-07-14 01:58 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton | ||
2016-07-14 03:57 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-07-14 04:06 -!- nicoe(~nicoe@103.240.242.247) has joined #tryton | ||
2016-07-14 06:16 -!- nicoe(~nicoe@103.240.242.247) has joined #tryton | ||
2016-07-14 06:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-07-14 06:58 <cedk> pokoli: you should not use tip in the hg url when reporting an issue because it is not a fixed link | ||
2016-07-14 08:07 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton | ||
2016-07-14 08:14 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2016-07-14 08:21 -!- resteve(~resteve@185.73.168.7) has joined #tryton | ||
2016-07-14 08:35 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton | ||
2016-07-14 08:54 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-07-14 08:55 -!- xcodinas(~xcodinas@cli-5b7e4c02.wholesale.adamo.es) has joined #tryton | ||
2016-07-14 08:55 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 09:07 -!- aasnan(~angel@48.red-83-45-194.dynamicip.rima-tde.net) has joined #tryton | ||
2016-07-14 10:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-07-14 10:38 -!- nicoe(~nicoe@103.240.242.247) has joined #tryton | ||
2016-07-14 10:46 -!- udono(~udono@tmo-098-254.customers.d1-online.com) has joined #tryton | ||
2016-07-14 11:43 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 12:19 -!- nicoe(~nicoe@103.240.242.247) has joined #tryton | ||
2016-07-14 12:23 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-07-14 12:59 -!- mariomop(~quassel@181.80.1.144) has joined #tryton | ||
2016-07-14 13:32 -!- trscheidig(c8752768@gateway/web/freenode/ip.200.117.39.104) has joined #tryton | ||
2016-07-14 13:44 -!- trscheidig(c8752768@gateway/web/freenode/ip.200.117.39.104) has left #tryton | ||
2016-07-14 13:47 -!- trscheidig(c8752768@gateway/web/freenode/ip.200.117.39.104) has joined #tryton | ||
2016-07-14 13:56 <trscheidig> hi all | ||
2016-07-14 14:00 <pokoli> hi trscheidig, welcome to the channel :-) | ||
2016-07-14 14:11 <trscheidig> thanks | ||
2016-07-14 14:12 <trscheidig> I have a question | ||
2016-07-14 14:14 <trscheidig> I have a module with 2 models --> practicas and practicas.line (this related to practicas) | ||
2016-07-14 14:15 <trscheidig> in the view all ok, but when I print a report with the field from practicas and practicas.line it gives me an error | ||
2016-07-14 14:16 <trscheidig> object line not found | ||
2016-07-14 14:16 <pokoli> trscheidig: could you upload a pastebin (or similar) with the full traceback of the error? | ||
2016-07-14 14:16 <trscheidig> yes | ||
2016-07-14 14:16 <trscheidig> wait a second | ||
2016-07-14 14:17 <pokoli> ACTION waits a second, or two, or more :-) | ||
2016-07-14 14:18 <trscheidig> Traceback (most recent call last): File "/trytond/protocols/jsonrpc.py", line 162, in _marshaled_dispatch response['result'] = dispatch_method(method, params) File "/trytond/protocols/jsonrpc.py", line 191, in _dispatch res = dispatch(*args) File "/trytond/protocols/dispatcher.py", line 162, in dispatch result = rpc.result(meth(*c_args, **c_kwargs)) File "/trytond/report/report.py", line 143, in execute cl | ||
2016-07-14 14:19 <trscheidig> wait the paste is incomplete | ||
2016-07-14 14:21 <pokoli> trscheidig: pealse use pastebin.com (or some similar service) | ||
2016-07-14 14:21 <trscheidig> how can I copy paste the entire text? or need to paste fragments | ||
2016-07-14 14:21 <pokoli> trscheidig: http://pastebin.com/ | ||
2016-07-14 14:21 <pokoli> trscheidig: you paste ther and then copy the given url in the channel | ||
2016-07-14 14:21 <trscheidig> I use fedora 23 , need I download the pastebin | ||
2016-07-14 14:23 <pokoli> trscheidig: you can use a browser to access the website | ||
2016-07-14 14:24 <trscheidig> yes I dont use this before | ||
2016-07-14 14:24 <trscheidig> I will try | ||
2016-07-14 14:26 <trscheidig> the url is : http://pastebin.com/jb4UM59F is this correct | ||
2016-07-14 14:29 <trscheidig> here is the code from the python file http://pastebin.com/piPEmhqm | ||
2016-07-14 14:32 <pokoli> trscheidig: from the python code I think you should use practica_line attribute to access the related lines via one2many | ||
2016-07-14 14:33 <trscheidig> in ODT report file? | ||
2016-07-14 14:36 <trscheidig> I am new to Tryton, and its a bit dificult, hehe I am learning with trial&error | ||
2016-07-14 14:37 <trscheidig> my english is not wery good, I am from Argentina, and my language is spanish | ||
2016-07-14 14:41 <trscheidig> It gives me the same error -> undefined error practicas_line not defined | ||
2016-07-14 14:42 <trscheidig> how can I access the related model in the .odt file? | ||
2016-07-14 14:44 <trscheidig> In the xml file the model referenced are "practicas" is this ok. | ||
2016-07-14 14:56 -!- udono(~udono@tmo-098-254.customers.d1-online.com) has joined #tryton | ||
2016-07-14 14:57 <pokoli> trscheidig: you can join the #tryton-es channel, and ask there in spanish | ||
2016-07-14 14:58 <pokoli> trscheidig: on your report you should define a variable for each record, and then you can acess this variable | ||
2016-07-14 14:58 <pokoli> trscheidig: once you have the variable poiting to record you can access all its relations | ||
2016-07-14 14:58 <pokoli> trscheidig: so if your record points to a gnuhealth.health_practicas instance, record.practica_line will give you all the lines | ||
2016-07-14 15:00 <trscheidig> Ok, I think I found the solution, I forgot to use the for objects in ...... etc I found the solution in the original ODT file, haha | ||
2016-07-14 15:00 <trscheidig> I will try this | ||
2016-07-14 15:04 <trscheidig> is there a sample about that I can consult, I dont have found advanced samples | ||
2016-07-14 15:05 <trscheidig> in Internet, only the hellow world sample and 2 or 3 samples more | ||
2016-07-14 15:06 <pokoli> trscheidig: You can use the account_invoice report as example if you want http://hg.tryton.org/modules/account_invoice/file/tip/invoice.odt | ||
2016-07-14 15:09 <trscheidig> thanks pokoli (in spanish I will say: muchas gracias por tu ayuda) | ||
2016-07-14 15:10 <pokoli> trscheidig: you are welcome (de nada :P) | ||
2016-07-14 15:10 <trscheidig> I understand english but writing is a bit more dificult, I wil learn here!!, hahah | ||
2016-07-14 15:11 <trscheidig> gracias, | ||
2016-07-14 15:14 -!- udono(~udono@tmo-098-254.customers.d1-online.com) has joined #tryton | ||
2016-07-14 15:24 -!- trscheidig(c8752768@gateway/web/freenode/ip.200.117.39.104) has left #tryton | ||
2016-07-14 15:40 -!- xcodinas(~xcodinas@cli-5b7e4c02.wholesale.adamo.es) has joined #tryton | ||
2016-07-14 15:40 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 15:44 -!- xcodinas(~xcodinas@91.126.76.2) has joined #tryton | ||
2016-07-14 15:44 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 15:53 -!- resteve(~resteve@185.73.168.7) has joined #tryton | ||
2016-07-14 15:56 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 16:03 -!- xcodinas(~xcodinas@cli-5b7e4c02.wholesale.adamo.es) has joined #tryton | ||
2016-07-14 16:03 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 16:04 -!- trscheidig(c8752768@gateway/web/freenode/ip.200.117.39.104) has joined #tryton | ||
2016-07-14 16:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-07-14 16:19 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-07-14 16:21 -!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | ||
2016-07-14 16:44 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton | ||
2016-07-14 16:52 -!- shrox(shrox@nat/iiit/x-gjdtzuglhnejdtyp) has joined #tryton | ||
2016-07-14 16:52 -!- shrox(shrox@nat/iiit/x-gjdtzuglhnejdtyp) has left #tryton | ||
2016-07-14 16:52 -!- shrox(shrox@nat/iiit/x-gjdtzuglhnejdtyp) has joined #tryton | ||
2016-07-14 16:52 -!- nicoe(~nicoe@110-170-213-71.static.asianet.co.th) has joined #tryton | ||
2016-07-14 17:23 -!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton | ||
2016-07-14 17:24 -!- prayashm(~prayashm@45.251.36.7) has joined #tryton | ||
2016-07-14 17:24 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton | ||
2016-07-14 17:47 -!- JosDzG(~Thunderbi@189.195.156.226) has joined #tryton | ||
2016-07-14 18:55 -!- lukio(~lukio@186.18.228.139) has joined #tryton | ||
2016-07-14 18:58 <lukio> hi, is there any paper that talks how to optimize postgresql for tryton? | ||
2016-07-14 18:59 <cedk> lukio: I guess any paper that talk about general pg optimization | ||
2016-07-14 19:00 <lukio> cedk: thanks! | ||
2016-07-14 19:05 <cedk> lukio: but it is quite rare that optimization is needed | ||
2016-07-14 19:05 <cedk> lukio: what is your problem? | ||
2016-07-14 19:06 -!- damien(9fcb74e4@gateway/web/freenode/ip.159.203.116.228) has joined #tryton | ||
2016-07-14 19:09 -!- nicoe(~nicoe@110-170-213-71.static.asianet.co.th) has joined #tryton | ||
2016-07-14 19:42 -!- giesen(~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6) has joined #tryton | ||
2016-07-14 19:47 <lukio> cedk: we are building a server to sell tryton as a service, that's why i would like to know which parameters i should tweak (if need it). | ||
2016-07-14 19:55 <cedk> lukio: I think you will have to check frequently all the long | ||
2016-07-14 20:58 -!- caleb_(~caleb@bb-66-63-86-50.static.gwi.net) has left #tryton | ||
2016-07-14 22:28 -!- lukio(~lukio@186.18.228.139) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!