chat.freenode.net #tryton log beginning Fri Jan 25 00:00:01 CET 2019 | ||
-!- rpit(~rpit@p200300C88F26900083E3609496DE5132.dip0.t-ipconnect.de) has joined #tryton | 23:02 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:36 | |
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 00:10 | |
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 00:18 | |
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 02:57 | |
-!- yangoon(~mathiasb@i59F4A872.versanet.de) has joined #tryton | 03:24 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 06:59 | |
-!- piyfy(~cj@178.197.233.221) has joined #tryton | 07:05 | |
-!- piyfy(~cj@178.197.233.221) has left #tryton | 07:23 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 07:31 | |
-!- rpit(~rpit@p200300C88F269000716E79431B282C28.dip0.t-ipconnect.de) has joined #tryton | 07:32 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 08:07 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:15 | |
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton | 08:16 | |
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 08:23 | |
-!- nzaniela(~nzaniela@41.80.77.95) has joined #tryton | 08:26 | |
-!- nzaniela(~nzaniela@41.80.77.95) has joined #tryton | 08:47 | |
-!- nzaniela(~nzaniela@41.80.77.95) has left #tryton | 08:50 | |
-!- nzaniela(~nzaniela@41.80.77.95) has joined #tryton | 08:50 | |
-!- nzaniela(~nzaniela@41.80.77.95) has left #tryton | 08:52 | |
-!- nzaniela(~nzaniela@41.80.77.95) has joined #tryton | 08:57 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 09:13 | |
-!- nicoe(~nicoe@2a02:2788:54:1b6:7e2a:31ff:fe5e:b25d) has joined #tryton | 09:22 | |
Timitos | i there. i need to search on a multivalue field. is there already some code how to implement search on a multivalue field? | 09:35 |
---|---|---|
-!- thaneor(~lenovo3@r167-56-170-105.dialup.adsl.anteldata.net.uy) has joined #tryton | 09:39 | |
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 09:49 | |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 09:56 | |
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton | 09:59 | |
pokoli | Timitos: i do not think so but probably joining with the target table and filtering out dose records that do not match the multivalue pattern should do the trick | 10:04 |
pokoli | Timitos: there is also https://bugs.tryton.org/issue7637 which may be usefull to convert the pattern to a domain and avoid the filtering | 10:07 |
Timitos | pokoli: so if i understand that correctly this means that search on multivalue fields is not yet supported by the framework and a workaround would be to search on the target table repecting the multivalue pattern. | 10:11 |
pokoli | Timitos: multivalue is especific case of functional fields which does not have a searcher implemented: http://hg.tryton.org/trytond/file/7f7d89424789/trytond/model/fields/function.py#l127 | 10:13 |
Timitos | pokoli: ok. thx | 10:14 |
pokoli | because it's hard to implement a generic one that works for all cases and all patterns | 10:14 |
pokoli | Timitos: I think it's easier to implement a specific searcher for the field you need to search that trying to implement a generic solution for all cases | 10:15 |
Timitos | i agree | 10:15 |
pokoli | Timitos: a generic solution will be a good addition to the framework but I'm not sure if it's possible to work for all cases | 10:16 |
pokoli | Timitos: also knowing the pattern that will be used for the searcher will ease the implementation | 10:17 |
pokoli | Timitos: so I think it will be doable to implement a generic searcher for all Multivalue fields if you only use the company field in patterns | 10:17 |
pokoli | Timitos: registering a mixin that sets the searcher of all multivalue fields should be doable also: http://docs.tryton.org/projects/server/en/latest/ref/pool.html?highlight=pool#trytond.pool.Pool.register_mixin | 10:18 |
Timitos | nice | 10:20 |
nzaniela | hi | 10:23 |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 10:24 | |
nzaniela | on the sao this error appears in terminal | 10:24 |
nzaniela | 29723 140059927402240 [2019-01-25 10:22:58,646] ERROR werkzeug Error on request: | 10:24 |
nzaniela | Traceback (most recent call last): | 10:24 |
nzaniela | File "/home/nzaniela/apps/CODING_DEV_APPS/VIRTUALENV_PROJECTS/garage/lib/python3.7/site-packages/werkzeug/serving.py", line 270, in run_wsgi | 10:24 |
nzaniela | execute(self.server.app) | 10:24 |
nzaniela | File "/home/nzaniela/apps/CODING_DEV_APPS/VIRTUALENV_PROJECTS/garage/lib/python3.7/site-packages/werkzeug/serving.py", line 258, in execute | 10:24 |
nzaniela | application_iter = app(environ, start_response) | 10:24 |
nzaniela | File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 149, in __call__ | 10:24 |
nzaniela | return self.wsgi_app(environ, start_response) | 10:24 |
nzaniela | File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 155, in __call__ | 10:24 |
nzaniela | return self.app(environ, start_response) | 10:24 |
nzaniela | File "/home/nzaniela/Garage/trytond/trytond/wsgi.py", line 134, in wsgi_app | 10:24 |
nzaniela | response.headers['Access-Control-Allow-Origin'] = origin | 10:24 |
nzaniela | AttributeError: 'NotImplemented' object has no attribute 'headers' | 10:24 |
cedk | nzaniela: please fill an issue on https://bugs.tryton.org/ it is a bug introduced with the recent CORS support | 10:25 |
nzaniela | okay cedk | 10:26 |
nzaniela | done | 10:38 |
cedk | nzaniela: Please set a meaningful title and the traceback in the comment | 10:48 |
cedk | nzaniela: without comment nobody is notify | 10:49 |
-!- mariomop(~quassel@host164.186-109-210.telecom.net.ar) has joined #tryton | 10:49 | |
nzaniela | okay | 10:49 |
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton | 11:04 | |
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton | 11:22 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 11:48 | |
-!- rpit(~rpit@p5B22B44D.dip0.t-ipconnect.de) has joined #tryton | 13:20 | |
-!- sluggo23(515f195e@gateway/web/freenode/ip.81.95.25.94) has joined #tryton | 13:32 | |
-!- csotelo(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton | 14:31 | |
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton | 15:16 | |
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 15:37 | |
-!- csotelo_(~csotelo@190.113.215.94) has joined #tryton | 17:25 | |
-!- csotelo__(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton | 17:28 | |
-!- csotelo(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton | 17:32 | |
-!- udono1(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 18:19 | |
-!- mariomop(~quassel@181.111.64.225) has joined #tryton | 20:04 | |
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton | 21:00 | |
-!- thaneor(~lenovo3@r186-48-21-62.dialup.adsl.anteldata.net.uy) has joined #tryton | 21:41 | |
-!- udono(~udono@125-061-210-188.ip-addr.inexio.net) has joined #tryton | 22:25 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!