IRC logs of #tryton for Friday, 2016-10-14

chat.freenode.net #tryton log beginning Fri Oct 14 00:00:01 CEST 2016
2016-10-14 00:11 -!- lukio(~lukio@181.164.157.167) has joined #tryton
2016-10-14 00:12 <lukio> Hi everybody. I need to erase one line from known_hosts from an installation of a Tryton Client that I have at a Windows machine.
2016-10-14 00:13 <lukio> But, I do not know, where is stored.
2016-10-14 00:13 <lukio> I know, that at linux machine, is at ~/.config/tryton/x.x/known_hosts
2016-10-14 00:13 <lukio> Do u know where I can found it? Thanks!
2016-10-14 01:11 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-10-14 01:21 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-10-14 06:48 -!- Piiteri(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton
2016-10-14 07:14 -!- robink_(~quassel@unaffilated/robink) has joined #tryton
2016-10-14 08:18 -!- Piiteri(~Thunderbi@37-33-127-57.bb.dnainternet.fi) has joined #tryton
2016-10-14 08:48 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-10-14 08:53 -!- gytis(~gytis@k250.nfq.lt) has joined #tryton
2016-10-14 09:16 -!- nicoe(~nicoe@2a02:a03f:3058:bd00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-10-14 09:18 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-10-14 09:35 -!- udono(~udono@p57ACD312.dip0.t-ipconnect.de) has joined #tryton
2016-10-14 09:37 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-10-14 09:44 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-10-14 11:46 -!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton
2016-10-14 11:51 -!- Mike_(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton
2016-10-14 11:52 <Guest22504> How can I load parties as per paging?
2016-10-14 11:53 <cedk> Guest22504: paging is done automaticaly by the client: 1000 for desktop/20 for web
2016-10-14 11:59 <Guest22504> ok, but I want to handle with json RPC call
2016-10-14 12:08 <pokoli> Guest22504: then you should use the offset and limit parameters fo the search methods: http://doc.tryton.org/4.0/trytond/doc/ref/models/models.html#trytond.model.ModelStorage.search
2016-10-14 12:13 <Guest22504> I tried that but problem is that when I add new party then all indexes changes so newly added party is missing, if I not started from 0
2016-10-14 12:15 <pokoli> Guest22504: what do you mean by indexes?
2016-10-14 12:21 <Guest22504> position/Index of party in the response
2016-10-14 12:22 <Guest22504> e.g. first call I got 5 parties & after that I added a new party. Now if request for a second page call then new party is not come due to index changed
2016-10-14 12:22 <Guest22504> I have restart the call from first page
2016-10-14 12:26 <pokoli> Guest22504: not sure to fully understand you, but this is normall with pagination
2016-10-14 12:26 <pokoli> Guest22504: the party will be showed depending on it's ordering
2016-10-14 12:27 <Guest22504> what kind of default ordering?
2016-10-14 12:34 <pokoli> Guest22504: the parties are ordered by name by default, but you can customize it using the _order attribute
2016-10-14 12:37 <Guest22504> thanks, I tried with order but getting some error
2016-10-14 12:41 <Guest22504> as here http://pastebin.com/XNYpkLP2
2016-10-14 12:42 <pokoli> Guest22504: order is a list of clauses, each one must contain the field and the direction
2016-10-14 12:48 <Guest22504> I tried that also but not succeed http://pastebin.com/98ncBggR
2016-10-14 12:49 <Timitos> Guest22504: try [["id", "ASC"]]
2016-10-14 12:50 <cedk> Guest22504: see http://doc.tryton.org/4.0/trytond/doc/ref/models/models.html?highlight=order#trytond.model.ModelSQL._order
2016-10-14 12:57 -!- kstenger(~karla@r186-54-42-34.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-10-14 13:02 <Guest22504> checking...
2016-10-14 13:02 -!- mariomop(~quassel@host212.190-229-244.telecom.net.ar) has joined #tryton
2016-10-14 13:11 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-10-14 13:12 -!- Piiteri1(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton
2016-10-14 13:16 <Guest22504> tried ["id","ASC"] but gives me cls._fields[fname]\nKeyError: u'i'\n
2016-10-14 13:24 <cedk> Guest22504: the doc says a list of tuples
2016-10-14 13:27 <Guest22504> I tried that one also [["id","ASC"]] for JSON RPC call but getting smae error
2016-10-14 13:27 <cedk> Guest22504: I doubt it is the same error
2016-10-14 13:30 <Guest22504> I mean server never return anything....
2016-10-14 13:32 <cedk> Guest22504: then there is nothing
2016-10-14 13:58 -!- Guest22504(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton
2016-10-14 13:59 <Guest22504> hi
2016-10-14 13:59 <Guest22504> order ["id","ASC"] takes too much time for response
2016-10-14 14:02 <Guest22504> also the order is not as per id
2016-10-14 14:15 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-10-14 14:25 <cedk> Guest22504: I doubt it is the order who takes times
2016-10-14 14:26 <cedk> Guest22504: from your previous exampl, I see you read all fields with search_read
2016-10-14 14:26 <cedk> so if you have some expensive computed field…
2016-10-14 14:27 <Guest22504> yes may be picture is too expensive, but result is also not as per id
2016-10-14 15:22 <mrichez> cedk: When i try to apply your patch 26791002, patch failed to apply because file trytond/ir/view/model_button_rule_list.xml already exists (button_rule_form, button_click_form, ...)
2016-10-14 15:27 <pokoli> mrichez: you should remove the existing files and reaply the patch
2016-10-14 15:27 <mrichez> pokoli: oki thanks !
2016-10-14 16:01 -!- udono1(~udono@p4FD4EB88.dip0.t-ipconnect.de) has joined #tryton
2016-10-14 16:20 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2016-10-14 17:26 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-10-14 18:03 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-10-14 19:39 -!- robink_(~quassel@unaffilated/robink) has joined #tryton
2016-10-14 20:25 -!- woakas2(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton
2016-10-14 20:42 -!- Piiteri1(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton
2016-10-14 20:49 -!- sharkcz`(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton
2016-10-14 20:49 -!- xcodinas_(~xcodinas@5.134.115.102) has joined #tryton
2016-10-14 21:18 -!- kstenger1(~karla@r167-56-252-190.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-10-14 21:30 -!- pokoli(~pokoli@2001:41d0:1:9acb::1) has joined #tryton
2016-10-14 21:51 -!- robink_(~quassel@unaffilated/robink) has joined #tryton
2016-10-14 22:07 -!- prayashm(~prayashm@45.251.37.64) has joined #tryton
2016-10-14 22:07 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-10-14 23:27 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton
2016-10-14 23:34 -!- robink_(~quassel@unaffilated/robink) has joined #tryton
2016-10-14 23:42 -!- robink__(~quassel@unaffilated/robink) has joined #tryton
2016-10-14 23:52 -!- JosDzG(~Thunderbi@189.250.52.64) has joined #tryton

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