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-fr00:03
-!- thaneor(~ldlc6@r186-53-126-152.dialup.adsl.anteldata.net.uy) has joined #tryton-fr02:03
-!- mrichez(~Maxime@2a02:a03f:4689:f200:299c:1bdb:9a6d:e07f) has joined #tryton-fr08:03
-!- amprxc(b97aa1f7@gateway/web/cgi-irc/kiwiirc.com/ip.185.122.161.247) has joined #tryton-fr08:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton-fr09:03
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton-fr10:03
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 ?11:03
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"]11:03
nicoeamprxc: as-tu déjà accès à un bout du M2M ?11:03
cedkamprxc: dans un m2m, ce sont des records donc on peut accéder à leurs champs11:03
amprxcavec un pool.get ?11:03
cedkamprxc: ben non, c'est les valeurs du champs11:03
amprxcmais le many2many crée une nouvelle table dans la bdd...11:03
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édiaire11:03
amprxcje vois11:03
-!- thaneor(~ldlc6@r186-54-85-172.dialup.adsl.anteldata.net.uy) has joined #tryton-fr14:03
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton-fr15:03
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton-fr17:03
-!- sisalp(~sisalpuse@51.sisalp.net) has joined #tryton-fr17:03
-!- irclog(~irclog@2001:41d0:1:c158::1) has joined #tryton-fr17:03
-!- sisalp(~sisalpuse@51.sisalp.net) has joined #tryton-fr17:03
-!- Sid(~Thunderbi@2a01:e34:ed05:f400:c7ca:b4c:e5f6:b9d2) has joined #tryton-fr17:03
-!- thaneor(~ldlc6@r186-54-85-172.dialup.adsl.anteldata.net.uy) has joined #tryton-fr17:03
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton-fr17:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton-fr17:03
-!- amprxc(b97aa1f7@gateway/web/cgi-irc/kiwiirc.com/ip.185.122.161.247) has joined #tryton-fr17:03
-!- mrichez(~Maxime@2a02:a03f:4689:f200:299c:1bdb:9a6d:e07f) has joined #tryton-fr17:03
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton-fr17:03
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton-fr17:03
-!- ChanServ(ChanServ@services.) has joined #tryton-fr17:03
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton-fr17:03
-!- thaneor(~ldlc6@r186-54-85-172.dialup.adsl.anteldata.net.uy) has joined #tryton-fr22:03

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