IRC logs of #tryton for Tuesday, 2020-06-16

chat.freenode.net #tryton log beginning Tue 16 Jun 2020 12:00:02 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:06
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:06
-!- Timitos(~kpreisler@2001:a61:5ad:c901:762b:62ff:fe84:ed7e) has joined #tryton08:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:06
-!- rajivr(uid269651@gateway/web/irccloud.com/x-xooavljttneoybeh) has joined #tryton08:06
-!- lucascastro(~lucascast@177-185-139-41.isotelco.net.br) has joined #tryton08:06
-!- lucascastro(~lucascast@177-185-139-41.isotelco.net.br) has joined #tryton08:06
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton08:06
-!- rpit(~rpit@p4ffb760e.dip0.t-ipconnect.de) has joined #tryton09:06
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton09:06
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton10:06
-!- Guest46885(~jan@2a02:8109:8500:3fc8:1986:b938:d6c0:4d5e) has joined #tryton11:06
-!- hedererjs(~hedererjs@81.56.169.23) has joined #tryton12:06
-!- mariomop(~quassel@190.193.24.15) has joined #tryton13:06
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:06
-!- amprxc(b97aa1f7@gateway/web/cgi-irc/kiwiirc.com/ip.185.122.161.247) has joined #tryton14:06
-!- amprxc(b97aa1f7@gateway/web/cgi-irc/kiwiirc.com/ip.185.122.161.247) has left #tryton14:06
mrichezhi, how to set a value from a function field to a field just before saving ? can i call "save" method like this : https://pastebin.com/feMTMMi615:06
cedkmrichez: the problem is that .save is high level so there will be no synchronisation if .write is directly used15:06
mrichezcedk: so it is better to do this in def write ?15:06
cedkmrichez: the best is to override .create and .write15:06
cedkmrichez: like in contact mechanism15:06
mrichezcedk: ok thanks15:06
-!- jan(~jan@46.114.39.246) has joined #tryton15:06
-!- Jan_S(~jan@46.114.39.246) has joined #tryton16:06
-!- hedererjs(~hedererjs@81.56.169.23) has joined #tryton16:06

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