IRC logs of #tryton for Tuesday, 2022-08-16

irc.libera.chat #tryton log beginning Tue Aug 16 12:00:01 AM CEST 2022
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton02:57
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:28
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton05:55
-!- ChanServ changed mode/#tryton -> +o cedk 05:55
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton06:30
LordVanhi06:47
LordVanafter upgrading frmo 6.2 to 6.4 i got this error: https://dpaste.org/acLB9 ( from this code:  @classmethod def default_list_price(cls): return decimal.Decimal(0.0) ) .. I do not think this was mentioned anywhere in the changelog (unless I missed it) .. 06:49
LordVanwhat would be the correct default method definiton for that MultiVAlue field?06:51
LordVanI did a quick search, but didn't find any multivalue fields with defaults (yet)06:52
cedkLordVan: pretty sure this did not change, default method must accept **pattern of multivalue06:57
cedkLordVan: there are plenty of example like modules/sale_price_list/product.py07:08
cedkdefault_price_list07:08
LordVanwell then it was wrong before, but for some reason it worked in 6.2 but not in 6.407:09
LordVanah my mistake i only looked in activated modules on the production machine instead of the dev box. thanks I got it now07:10
LordVanmaybe it did not pas the keyword argumetn before07:11
LordVanor rather I think it didn'T work but it also did not throw an exception before07:12
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton07:25
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:21
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:42
-!- ChanServ changed mode/#tryton -> +o cedk 20:42

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