irc.libera.chat #tryton log beginning Mon Oct 25 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:50 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:50 | |
-!- tramontana999(~moi2@lfbn-dij-1-1442-116.w109-221.abo.wanadoo.fr) has joined #tryton | 23:46 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:25 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 05:44 | |
-!- udono(~udono@116-058-210-188.ip-addr.inexio.net) has joined #tryton | 06:41 | |
-!- tramontana999(~moi2@lfbn-dij-1-1442-116.w109-221.abo.wanadoo.fr) has joined #tryton | 07:06 | |
-!- rpit(~rpit@p200300c88f168d000ae81a7497341a2e.dip0.t-ipconnect.de) has joined #tryton | 07:17 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:17 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:17 | |
mrichez | hi, how to "force" an "on_change_with" when setting default values in a wizard form ? | 08:48 |
---|---|---|
cedk | mrichez: normally on_change and on_change_with should be automatically called for all field set as default value | 09:31 |
mrichez | cedk: it's working for field 2 depending on the field 1 setted by default_value. but not reacting for field 3 depending on field 2... | 09:37 |
mrichez | cedk: if i update value in field 2 after the form is shown, field 3 is correctly updated | 09:37 |
mrichez | cedk: here's a part of my code: https://pastebin.com/rXhZz5QV | 09:41 |
mrichez | cedk: customer has a default label and fields_required depends on label to set visible or not fields on the form. | 09:41 |
mrichez | cedk: i set customer as default value for the form. So label is set by default for this customer and i'm expecting that "fields_required" field is updated with the "on_change_with_fields_required" depending on lale | 09:43 |
mrichez | label | 09:43 |
cedk | set value from on_change does not trigger other on_change calls | 09:45 |
cedk | otherwise we may have an infinite loop | 09:45 |
cedk | the on_change calls must take care of setting everything needed | 09:46 |
cedk | also usually it is a bad idea to have on_change depending on computed field with on_change_with | 09:46 |
mrichez | cedk: ok will try to adapt my code | 09:51 |
mrichez | thanks | 09:51 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 12:20 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 12:20 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 12:53 | |
-!- Syrup_Samich(~Syrup_Sam@173.170.64.77) has joined #tryton | 15:12 | |
Syrup_Samich | Are there any command line install arguments fir the windows .exe | 15:13 |
Syrup_Samich | trying to mass deploy tryton in a Windows environment. | 15:14 |
Syrup_Samich | disregard adding /s seems to work | 15:17 |
-!- rpit1(~rpit@p200300c88f33290059817ea3648d24be.dip0.t-ipconnect.de) has joined #tryton | 18:23 | |
-!- tramontana999(~moi2@lfbn-dij-1-1442-116.w109-221.abo.wanadoo.fr) has joined #tryton | 19:55 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!