IRC logs of #tryton for Monday, 2021-10-25

irc.libera.chat #tryton log beginning Mon Oct 25 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:50
-!- ChanServ changed mode/#tryton -> +o cedk 22:50
-!- tramontana999(~moi2@lfbn-dij-1-1442-116.w109-221.abo.wanadoo.fr) has joined #tryton23:46
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:25
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton05:44
-!- udono(~udono@116-058-210-188.ip-addr.inexio.net) has joined #tryton06:41
-!- tramontana999(~moi2@lfbn-dij-1-1442-116.w109-221.abo.wanadoo.fr) has joined #tryton07:06
-!- rpit(~rpit@p200300c88f168d000ae81a7497341a2e.dip0.t-ipconnect.de) has joined #tryton07:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:17
-!- ChanServ changed mode/#tryton -> +o cedk 07:17
mrichezhi, how to "force" an "on_change_with" when setting default values in a wizard form ?08:48
cedkmrichez: normally on_change and on_change_with should be automatically called for all field set as default value09:31
mrichezcedk: 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
mrichezcedk: if i update value in field 2 after the form is shown, field 3 is correctly updated09:37
mrichezcedk: here's a part of my code: https://pastebin.com/rXhZz5QV09:41
mrichezcedk: customer has a default label and fields_required depends on label to set visible or not fields on the form.09:41
mrichezcedk: 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 lale09:43
mrichezlabel09:43
cedkset value from on_change does not trigger other on_change calls09:45
cedkotherwise we may have an infinite loop09:45
cedkthe on_change calls must take care of setting everything needed09:46
cedkalso usually it is a bad idea to have on_change depending on computed field with on_change_with09:46
mrichezcedk: ok will try to adapt my code09:51
mrichezthanks09:51
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:20
-!- ChanServ changed mode/#tryton -> +o cedk 12:20
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton12:53
-!- Syrup_Samich(~Syrup_Sam@173.170.64.77) has joined #tryton15:12
Syrup_SamichAre there any command line install arguments fir the windows .exe15:13
Syrup_Samichtrying to mass deploy tryton in a Windows environment.15:14
Syrup_Samichdisregard adding /s seems to work15:17
-!- rpit1(~rpit@p200300c88f33290059817ea3648d24be.dip0.t-ipconnect.de) has joined #tryton18:23
-!- tramontana999(~moi2@lfbn-dij-1-1442-116.w109-221.abo.wanadoo.fr) has joined #tryton19:55

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