irc.libera.chat #tryton log beginning Tue Aug 16 12:00:01 AM CEST 2022 | ||
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton | 02:57 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:28 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 05:55 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 05:55 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:30 | |
LordVan | hi | 06:47 |
---|---|---|
LordVan | after 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 |
LordVan | what would be the correct default method definiton for that MultiVAlue field? | 06:51 |
LordVan | I did a quick search, but didn't find any multivalue fields with defaults (yet) | 06:52 |
cedk | LordVan: pretty sure this did not change, default method must accept **pattern of multivalue | 06:57 |
cedk | LordVan: there are plenty of example like modules/sale_price_list/product.py | 07:08 |
cedk | default_price_list | 07:08 |
LordVan | well then it was wrong before, but for some reason it worked in 6.2 but not in 6.4 | 07:09 |
LordVan | ah my mistake i only looked in activated modules on the production machine instead of the dev box. thanks I got it now | 07:10 |
LordVan | maybe it did not pas the keyword argumetn before | 07:11 |
LordVan | or rather I think it didn'T work but it also did not throw an exception before | 07:12 |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:25 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:21 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 20: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/!