irc.libera.chat #tryton log beginning Sun May 28 12:10:01 AM CEST 2023 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:30 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:30 | |
-!- yangoon(~yangoon@p5dd083d1.dip0.t-ipconnect.de) has joined #tryton | 04:23 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 05:48 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 05:48 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:47ca:4636:10d:eda1) has joined #tryton | 09:14 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:47ca:4636:10d:eda1) has joined #tryton | 11:13 | |
-!- rpit(~rpit@p200300c88f3f5b00202e27664fee210b.dip0.t-ipconnect.de) has joined #tryton | 14:04 | |
LordVan | pokoli, sorry for the late reply to your answer. Yes i figured that much out since my question, but wher would I best set that field in the invoice and how would I compare it? should it work if i do it in my custom on_change_origin method ? | 15:33 |
---|---|---|
LordVan | actually typing that out made me realize a mistake I made with that (unconditionally setting it there) | 15:33 |
LordVan | nm that doesn't work | 15:34 |
LordVan | which method would be the correct one to fill in that extra field in invoice ? | 15:34 |
LordVan | I basically added this to both Sale and Invoice: sale_group_name = fields.Char('Sale group name') | 15:35 |
LordVan | and in addition to thet overwrote _get_invoice_grouping-fields to return that extra field | 15:35 |
LordVan | but setting the field on the invoice in my on_change_origin does not do what I hoped (it still groups them all together) .. probably because I am setting it in the wrong place? | 15:35 |
-!- LordVan__(~LordVan@gentoo/developer/lordvan) has joined #tryton | 16:39 | |
LordVan | I suspect I need to do this somwhere else when the invocie is generated - maybe in the move somehow? | 16:58 |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton | 18:34 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton | 19:17 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!