irc.libera.chat #tryton log beginning Wed May 31 12:10:01 AM CEST 2023 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:46 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:46 | |
-!- yangoon(~yangoon@pd9e4a6bb.dip0.t-ipconnect.de) has joined #tryton | 23:11 | |
-!- springwurm(~springwur@2a01:76c0:100:f500:8d0d:d444:b310:3c1b) has joined #tryton | 05:13 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 05:54 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 05:54 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:22 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 06:25 | |
-!- rpit(~rpit@p200300c88f3f5b00202e27664fee210b.dip0.t-ipconnect.de) has joined #tryton | 06:47 | |
-!- htgoebel(~hartmut@p200300d5df4da700009eb0170233d95d.dip0.t-ipconnect.de) has joined #tryton | 07:08 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:22 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:57 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:57 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 08:19 | |
LordVan__ | Hi. I am confused about some behaviour. I got this code added to Sale: https://dpaste.org/8TKWM | 08: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 versa | 08: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 field | 08:40 |
LordVan__ | i am never manually setting any of the parties .. | 08:40 |
LordVan__ | sale_note is just a Char field | 08:41 |
LordVan__ | do I have the wrong .depends maybe? | 08:47 |
cedk | LordVan__: if you call other function in an on_change, you must declare the function as a dependency with methods=[...] | 08:51 |
cedk | otherwise the depends decorator fill the missing values with None | 08:52 |
LordVan__ | aaah | 08: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 #tryton | 12:06 | |
-!- htgoebel(~hartmut@p200300d5df4da700009eb0170233d95d.dip0.t-ipconnect.de) has left #tryton | 15:06 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21: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/!