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

chat.freenode.net #tryton log beginning Fri Oct 14 00:00:01 CEST 2016
-!- lukio(~lukio@181.164.157.167) has joined #tryton00:11
lukioHi everybody. I need to erase one line from known_hosts from an installation of a Tryton Client that I have at a Windows machine.00:12
lukioBut, I do not know, where is stored.00:13
lukioI know, that at linux machine, is at ~/.config/tryton/x.x/known_hosts00:13
lukioDo u know where I can found it? Thanks!00:13
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton01:11
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton01:21
-!- Piiteri(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton06:48
-!- robink_(~quassel@unaffilated/robink) has joined #tryton07:14
-!- Piiteri(~Thunderbi@37-33-127-57.bb.dnainternet.fi) has joined #tryton08:18
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton08:48
-!- gytis(~gytis@k250.nfq.lt) has joined #tryton08:53
-!- nicoe(~nicoe@2a02:a03f:3058:bd00:ee55:f9ff:fe7b:f7ac) has joined #tryton09:16
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:18
-!- udono(~udono@p57ACD312.dip0.t-ipconnect.de) has joined #tryton09:35
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:37
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton09:44
-!- sharkcz(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton11:46
-!- Mike_(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton11:51
Guest22504How can I load parties as per paging?11:52
cedkGuest22504: paging is done automaticaly by the client: 1000 for desktop/20 for web11:53
Guest22504ok, but I want to handle with json RPC call11:59
pokoliGuest22504: 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.search12:08
Guest22504I 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 012:13
pokoliGuest22504: what do you mean by indexes?12:15
Guest22504position/Index of party in the response12:21
Guest22504e.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 changed12:22
Guest22504I have restart the call from first page12:22
pokoliGuest22504: not sure to fully understand you, but this is normall with pagination12:26
pokoliGuest22504: the party will be showed depending on it's ordering12:26
Guest22504what kind of default ordering?12:27
pokoliGuest22504: the parties are ordered by name by default, but you can customize it using the _order attribute12:34
Guest22504thanks, I tried with order but getting some error12:37
Guest22504as here http://pastebin.com/XNYpkLP212:41
pokoliGuest22504: order is a list of clauses, each one must contain the field and the direction12:42
Guest22504I tried that also but not succeed http://pastebin.com/98ncBggR12:48
TimitosGuest22504:  try [["id", "ASC"]]12:49
cedkGuest22504: see http://doc.tryton.org/4.0/trytond/doc/ref/models/models.html?highlight=order#trytond.model.ModelSQL._order12:50
-!- kstenger(~karla@r186-54-42-34.dialup.adsl.anteldata.net.uy) has joined #tryton12:57
Guest22504checking...13:02
-!- mariomop(~quassel@host212.190-229-244.telecom.net.ar) has joined #tryton13:02
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton13:11
-!- Piiteri1(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton13:12
Guest22504tried ["id","ASC"]  but gives me cls._fields[fname]\nKeyError: u'i'\n13:16
cedkGuest22504: the doc says a list of tuples13:24
Guest22504I tried that one also [["id","ASC"]] for JSON RPC call but getting smae error13:27
cedkGuest22504: I doubt it is the same error13:27
Guest22504I mean server never return anything....13:30
cedkGuest22504: then there is nothing13:32
-!- Guest22504(caa0a042@gateway/web/freenode/ip.202.160.160.66) has joined #tryton13:58
Guest22504hi13:59
Guest22504order ["id","ASC"] takes too much time for response13:59
Guest22504also the order is not as per id14:02
-!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton14:15
cedkGuest22504: I doubt it is the order who takes times14:25
cedkGuest22504: from your previous exampl, I see you read all fields with search_read14:26
cedkso if you have some expensive computed field…14:26
Guest22504yes may be picture is too expensive,  but result is also not as per id14:27
mrichezcedk: 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, ...)15:22
pokolimrichez: you should remove the existing files and reaply the patch15:27
mrichezpokoli: oki thanks !15:27
-!- udono1(~udono@p4FD4EB88.dip0.t-ipconnect.de) has joined #tryton16:01
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton16:20
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton17:26
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:03
-!- robink_(~quassel@unaffilated/robink) has joined #tryton19:39
-!- woakas2(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton20:25
-!- Piiteri1(~Thunderbi@213-243-190-33.bb.dnainternet.fi) has joined #tryton20:42
-!- sharkcz`(~sharkcz@2a01:8c00:ffb3:160:250:43ff:fe3c:3b5d) has joined #tryton20:49
-!- xcodinas_(~xcodinas@5.134.115.102) has joined #tryton20:49
-!- kstenger1(~karla@r167-56-252-190.dialup.adsl.anteldata.net.uy) has joined #tryton21:18
-!- pokoli(~pokoli@2001:41d0:1:9acb::1) has joined #tryton21:30
-!- robink_(~quassel@unaffilated/robink) has joined #tryton21:51
-!- prayashm(~prayashm@45.251.37.64) has joined #tryton22:07
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton22:07
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton23:27
-!- robink_(~quassel@unaffilated/robink) has joined #tryton23:34
-!- robink__(~quassel@unaffilated/robink) has joined #tryton23:42
-!- JosDzG(~Thunderbi@189.250.52.64) has joined #tryton23:52

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