IRC logs of #tryton for Wednesday, 2021-10-20

irc.libera.chat #tryton log beginning Wed Oct 20 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:27
-!- ChanServ changed mode/#tryton -> +o cedk 23:27
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton04:53
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:43
-!- rpit(~rpit@2001:470:747a:2a:d888:168c:72e2:a8f5) has joined #tryton06:36
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:58
-!- ChanServ changed mode/#tryton -> +o cedk 06:58
-!- yangoon(~yangoon@p5dd0814c.dip0.t-ipconnect.de) has joined #tryton07:12
-!- wifasoi[m](~wifasoiwi@2001:470:69fc:105::1:177b) has joined #tryton07:19
mrichezhi, in a wizard, i've a form to input data and a button to launch an action with those data's. After clicking on the button, the form is closed. How to keep the form open with data after clicking on the button ?07:19
mrichezi've added a transition with same name than StateAction returning 'form', form is not closed but all data's are cleared07:20
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:28
cedkdiscuss.tryton.org is back07:29
-!- springwurm(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton07:29
pokolimrichez: you should set the default values of the previous record on the wizard transition07:29
cedkit seems that an automatic reboot for upgrade did not worked07:29
-!- springwurm(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton07:31
-!- springwurm_(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton07:32
-!- springwurm(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton07:35
mrichezpokoli: ok, thanks07:39
pokolimrichez: the reconcile wizard is an example of such behaviour: https://hg.tryton.org/modules/account/file/790fd7b11f11/move.py#l162007:41
mrichezpokoli: i already had a default_form but following your example i'll add a test to define previous values if exists. Thanks !07:44
pokoliyou are welcome!07:52
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton09:18
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:31
-!- ChanServ changed mode/#tryton -> +o cedk 11:31
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton11:34
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton12:54
-!- udono(~udono@tmo-113-53.customers.d1-online.com) has joined #tryton19:32

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