IRC logs of #tryton-fr for Monday, 2020-03-30

chat.freenode.net #tryton-fr log beginning Mon 30 Mar 2020 12:03:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton-fr22:14
-!- thaneor(~ldlc6@r186-53-126-152.dialup.adsl.anteldata.net.uy) has joined #tryton-fr00:12
-!- mrichez(~Maxime@2a02:a03f:4689:f200:299c:1bdb:9a6d:e07f) has joined #tryton-fr06:11
-!- amprxc(b97aa1f7@gateway/web/cgi-irc/kiwiirc.com/ip.185.122.161.247) has joined #tryton-fr06:48
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton-fr07:57
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton-fr08:51
amprxcBonjour, je souhaite récupérer une liste de records associés à un many2many dans une variable Python. Est-ce qu'il y a une façon simple de le faire, ou je dois obligatoirement faire un pool.get ?09:30
amprxcle many2many correspond à des identités, et je souhaite récupérer une liste des addresses email de mes records sous la forme : ["test@test.com", "test2@test.com"]09:32
nicoeamprxc: as-tu déjà accès à un bout du M2M ?09:33
cedkamprxc: dans un m2m, ce sont des records donc on peut accéder à leurs champs09:33
amprxcavec un pool.get ?09:34
cedkamprxc: ben non, c'est les valeurs du champs09:37
amprxcmais le many2many crée une nouvelle table dans la bdd...09:41
nicoeamprxc: l'accès aux champs m2m est transparent, si tu y accèdes tu auras les données auxquelles tu t'attends sans devoir passer explicitement par la table intermédiaire09:44
amprxcje vois09:45
-!- thaneor(~ldlc6@r186-54-85-172.dialup.adsl.anteldata.net.uy) has joined #tryton-fr12:15
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton-fr13:17
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton-fr15:10
-!- sisalp(~sisalpuse@51.sisalp.net) has joined #tryton-fr15:17
-!- irclog(~irclog@2001:41d0:1:c158::1) has joined #tryton-fr15:32
-!- sisalp(~sisalpuse@51.sisalp.net) has joined #tryton-fr15:46
-!- Sid(~Thunderbi@2a01:e34:ed05:f400:c7ca:b4c:e5f6:b9d2) has joined #tryton-fr15:46
-!- thaneor(~ldlc6@r186-54-85-172.dialup.adsl.anteldata.net.uy) has joined #tryton-fr15:46
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton-fr15:46
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton-fr15:46
-!- amprxc(b97aa1f7@gateway/web/cgi-irc/kiwiirc.com/ip.185.122.161.247) has joined #tryton-fr15:46
-!- mrichez(~Maxime@2a02:a03f:4689:f200:299c:1bdb:9a6d:e07f) has joined #tryton-fr15:46
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton-fr15:46
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton-fr15:46
-!- ChanServ(ChanServ@services.) has joined #tryton-fr15:46
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton-fr15:46
-!- thaneor(~ldlc6@r186-54-85-172.dialup.adsl.anteldata.net.uy) has joined #tryton-fr20:54

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