IRC logs of #tryton for Monday, 2016-04-11

chat.freenode.net #tryton log beginning Mon Apr 11 00:00:02 CEST 2016
-!- shrox(shrox@nat/iiit/x-wdhrxydlzotyvrqa) has joined #tryton00:31
cedkjrm: there is no big issue to have both installed but for cpython psycopg2 is better but it will not be used if psycopg2cffi is installed00:37
jrmcedk: Thanks.  I'll make it a "one or the other" option then.00:38
cedkjrm: indeed in the setup, we switch them depending on the implementation00:40
-!- smarro(~sebastian@181.16.7.104) has joined #tryton00:42
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:10
-!- smarro(~sebastian@181.16.7.104) has joined #tryton02:21
-!- tr33_(~tr33@ip-178-202-81-104.hsi09.unitymediagroup.de) has joined #tryton07:31
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton07:38
-!- frispete_(~frispete@p54A91D6A.dip0.t-ipconnect.de) has joined #tryton07:40
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:03
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:04
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:49
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton09:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:18
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton09:38
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:39
-!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton09:59
-!- shrox(shrox@nat/iiit/x-yrdmqcjykgjyawrm) has joined #tryton10:20
-!- aneolf(~chatzilla@106.140.21.95.dynamic.jazztel.es) has joined #tryton11:27
aneolfHi!11:29
pokolinicoe: it will be great if you can have a look at https://bugs.tryton.org/issue5469  ;)11:29
pokolianeolf: Hi11:29
aneolfHas anyone tried to search a record with the "!:" or "!=:" operator in 3.8. It seems that it doesn't work because in the end, it shows all records and the filter is removed.11:33
pokolianeolf: can you explain concrectly what are you trying? I'm puting: "Language: !English" in translation filter and works correctly11:36
nicoepokoli: Indeed I tested in my console and made an error when copying the code in tryton11:39
aneolfIf you don't put the label "Language", it should search by rec_name, but in this case, the "!:" and the "!=:" operatos do not work11:44
pokolinicoe: don't worry just fixed it :)11:49
pokolianeolf: which model are you testing?11:49
aneolfI have tested party, address, and even ir.lang of 3.8 in a fresh database. I'm going to test it in a fresh installation.11:53
pokolianeolf: BTW do you know which domain is passed to the server?11:55
aneolfNop. I cannot see it. I have put a breakpoint in the code, but if I write '!: English' in the search widget, it does not stop on it, and shows the behavior I have described before.11:58
cedkaneolf: why are you using ":" ?12:00
cedkaneolf: you should type: !English or quoted: !": English"12:00
aneolfI have tried '! English' and '!English' but then, it is changed by '"!" English' which is not correct either.12:03
aneolf'!": English"' does not work properly for me either.12:06
pokolianeolf: I've never used such sintax. !English always worked fine form me12:31
-!- smarro(~sebastian@181.16.7.104) has joined #tryton12:32
-!- mariomop(~quassel@host176.190-138-105.telecom.net.ar) has joined #tryton12:34
aneolfI have tried in a fresh database of a fresh installation and !English does not work either. May I have to open an issue?12:52
cedkaneolf: indeed I'm still not sure to understand what you try to do and why you say it is not working12:54
aneolfI'm trying to search a group or records by its rec_name that does not match with a given criteria. In this case, records are of model ir.lang and the criteria is rec_name different than English. But when I put !English in the search widget, Tryton changes this input by "!" English, and does not find anything.13:00
cedkaneolf: OK it seems to not work if there is no field specified13:12
cedkaneolf: it seems to be line 1126 of domain_parser.py13:13
cedkaneolf: so you can fill an issue13:13
aneolfDo you want me to try to fix it?13:14
cedkaneolf: of course I want everybody to try to fix every issues13:17
cedk:-)13:17
-!- csotelo(~csotelo@181.67.57.146) has joined #tryton13:42
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton14:33
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton14:33
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton14:33
-!- bvillasanti(~bvillasan@181.16.50.158) has joined #tryton14:43
-!- kstenger(~karla@r190-133-125-193.dialup.adsl.anteldata.net.uy) has joined #tryton14:56
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton15:07
-!- mariomop(~quassel@host54.190-136-189.telecom.net.ar) has joined #tryton15:20
andrespolitihow can i print a report for a model with a table query to a readonly view? It has a many2one where i select a record which changes function fields, and when i print report the function fields are set to None because it can't save15:21
-!- nina(~nina@177.19.245.134) has joined #tryton15:22
pokoliandrespoliti: if you want the model to be readonly don't give create/write/delete access to its users15:25
andrespolitibut if i don't give write access, the many2one field cannot be changed15:26
cedkandrespoliti: I think you should use the new context model of 4.0 or you must create a wizard that setup context for your function15:26
andrespolitilike a Report class that sets report_context ?15:38
cedkandrespoliti: yes15:41
-!- mariomop(~quassel@host14.190-139-67.telecom.net.ar) has joined #tryton16:24
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton16:40
-!- smarro(~sebastian@181.16.7.104) has joined #tryton17:04
-!- smarro(~sebastian@181.16.7.104) has joined #tryton18:33
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:51
-!- bvillasanti(~bvillasan@181.16.50.158) has joined #tryton18:59
-!- smarro(~sebastian@181.16.7.104) has joined #tryton19:22
-!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton20:00
-!- mariomop(~quassel@host176.190-138-105.telecom.net.ar) has joined #tryton20:13
-!- bvillasanti(~bvillasan@181.16.50.158) has joined #tryton21:02
-!- smarro(~sebastian@181.16.7.104) has joined #tryton21:22
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton22:29
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton23:21

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