IRC logs of #tryton for Wednesday, 2023-05-31

irc.libera.chat #tryton log beginning Wed May 31 12:10:01 AM CEST 2023
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:46
-!- ChanServ changed mode/#tryton -> +o cedk 22:46
-!- yangoon(~yangoon@pd9e4a6bb.dip0.t-ipconnect.de) has joined #tryton23:11
-!- springwurm(~springwur@2a01:76c0:100:f500:8d0d:d444:b310:3c1b) has joined #tryton05:13
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton05:54
-!- ChanServ changed mode/#tryton -> +o cedk 05:54
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:22
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton06:25
-!- rpit(~rpit@p200300c88f3f5b00202e27664fee210b.dip0.t-ipconnect.de) has joined #tryton06:47
-!- htgoebel(~hartmut@p200300d5df4da700009eb0170233d95d.dip0.t-ipconnect.de) has joined #tryton07:08
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:22
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:57
-!- ChanServ changed mode/#tryton -> +o cedk 07:57
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton08:19
LordVan__Hi. I am confused about some behaviour. I got this code added to Sale: https://dpaste.org/8TKWM08:38
LordVan__for some reason if i do not save the sale and select first a shipment party and then an invoice party  it will clear the former (but leave the address) 08:39
LordVan__same vice versa08:39
LordVan__what am I missing here?08:39
LordVan__(and i mean it already clears my shipment party field in the client while i am typing in the invoice party field08:40
LordVan__i am never manually setting any of the parties .. 08:40
LordVan__sale_note is just a Char field08:41
LordVan__do I have the wrong .depends maybe? 08:47
cedkLordVan__: if you call other function in an on_change, you must declare the function as a dependency with methods=[...]08:51
cedkotherwise the depends decorator fill the missing values with None08:52
LordVan__aaah08:52
LordVan__as expected I missed something simple/obvious to you ^^ thanks yet again :)08:54
-!- springwurm(~springwur@2a01:76c0:100:f500:763f:ffa5:dd09:92a7) has joined #tryton12:06
-!- htgoebel(~hartmut@p200300d5df4da700009eb0170233d95d.dip0.t-ipconnect.de) has left #tryton15:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:56
-!- ChanServ changed mode/#tryton -> +o cedk 21:56

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