IRC logs of #tryton for Wednesday, 2019-02-06

chat.freenode.net #tryton log beginning Wed Feb 6 00:00:01 CET 2019
-!- thaneor(~lenovo3@179.26.136.148) has joined #tryton00:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:21
-!- yangoon1(~mathiasb@i59F52A4D.versanet.de) has joined #tryton03:12
-!- udono1(~udono@174-139-067-156.ip-addr.inexio.net) has joined #tryton05:15
-!- jcm(~jcm@78.194.214.115) has joined #tryton05:31
-!- udono(~udono@125-142-067-156.ip-addr.inexio.net) has joined #tryton05:44
-!- ion_cebotari(~ion@232.117.235.77.dyn.idknet.com) has joined #tryton07:27
-!- rpit(~rpit@p200300C88F26900028C9B322B854D193.dip0.t-ipconnect.de) has joined #tryton07:35
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:51
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton07:53
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:09
-!- scrapper(~scrapper@mail.alpmine.com) has joined #tryton08:11
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:56
rmuhi! stupid question: in the 5.0 gtk client, how is it possible to open a second client connecting to the same server (with a different username)? it seems invoking tryton a second time just focusses the window of the already running tryton client instead of starting a new one.09:56
cedkrmu: you can not10:11
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton10:41
rmuis there a particular technical or ui reason? it seems like an antifeature to me.11:00
cedkrmu: it is how Gtk Application works11:04
cedkrmu: there are no reason for a user to have more than one user11:05
rmucedk: there is no reason for a user to connect to more than one server, but that is possible, so somebody made the decision to include the server into the app id but not the username.11:14
rmuanyway, thanks for info11:15
cedkrmu: it is already the case11:17
-!- rpit(~rpit@p5B22B44D.dip0.t-ipconnect.de) has joined #tryton11:31
-!- thaneor1(~lenovo3@179.26.4.35) has joined #tryton12:06
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton12:25
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton12:40
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton12:53
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton13:23
-!- csotelo(~csotelo@2800:200:f410:adb:2d8a:7caa:d18d:8442) has joined #tryton14:37
mrichezhi, wondering if the only way to define a state for a field depending a comparision between 2 fields is to use a function field ?14:50
mrichezfor this kind of expression : states={'readonly': Eval(manytoonefield.id) != Eval('id')14:51
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton14:56
mrichezok, i define a function field on a boolean and i'm using this field in the eval for the state15:08
cedkmrichez: you can put as many Eval as you want in a PYSON15:18
cedkmrichez: but it should be field value only no '.id'15:18
cedkbut often it is better to use a Function field to allow easy customization later15:18
mrichezcedk: in my case it's the object himself15:19
cedkmrichez: Eval of many2one returns the id15:20
mrichezcedk: ok, so i could write something like that 'readonly': Eval('purchase_request.sale_line') = Eval('line')15:23
mrichezcedk: thanks15:26
cedkmrichez: no you can not use dot in Eval15:27
mrichezcedk: so in my case function field is the solution15:28
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton15:30
-!- smorillo(8965fb35@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.251.53) has joined #tryton15:39
-!- udono1(~udono@125-142-067-156.ip-addr.inexio.net) has joined #tryton15:53
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton17:23
-!- mariomop(~quassel@host54.201-253-196.telecom.net.ar) has joined #tryton18:55
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton21:01
-!- mariomop(~quassel@host54.201-253-196.telecom.net.ar) has joined #tryton21:31
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton22:02
-!- lucascastro(~lucascast@177-185-139-166.isotelco.net.br) has joined #tryton22:15
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton22:45

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