irc.libera.chat #tryton log beginning Wed Oct 20 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:27 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:27 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 04:53 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 05:43 | |
-!- rpit(~rpit@2001:470:747a:2a:d888:168c:72e2:a8f5) has joined #tryton | 06:36 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:58 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:58 | |
-!- yangoon(~yangoon@p5dd0814c.dip0.t-ipconnect.de) has joined #tryton | 07:12 | |
-!- wifasoi[m](~wifasoiwi@2001:470:69fc:105::1:177b) has joined #tryton | 07:19 | |
mrichez | hi, 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 |
---|---|---|
mrichez | i've added a transition with same name than StateAction returning 'form', form is not closed but all data's are cleared | 07:20 |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:28 | |
cedk | discuss.tryton.org is back | 07:29 |
-!- springwurm(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton | 07:29 | |
pokoli | mrichez: you should set the default values of the previous record on the wizard transition | 07:29 |
cedk | it seems that an automatic reboot for upgrade did not worked | 07:29 |
-!- springwurm(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton | 07:31 | |
-!- springwurm_(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton | 07:32 | |
-!- springwurm(~springwur@p200300fbaf12d600000000000000039b.dip0.t-ipconnect.de) has joined #tryton | 07:35 | |
mrichez | pokoli: ok, thanks | 07:39 |
pokoli | mrichez: the reconcile wizard is an example of such behaviour: https://hg.tryton.org/modules/account/file/790fd7b11f11/move.py#l1620 | 07:41 |
mrichez | pokoli: i already had a default_form but following your example i'll add a test to define previous values if exists. Thanks ! | 07:44 |
pokoli | you are welcome! | 07:52 |
-!- timitos(~kpreisler@134.3.92.37) has joined #tryton | 09:18 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 11:31 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 11:31 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 11:34 | |
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton | 12:54 | |
-!- udono(~udono@tmo-113-53.customers.d1-online.com) has joined #tryton | 19:32 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!