IRC logs of #tryton for Sunday, 2023-05-28

irc.libera.chat #tryton log beginning Sun May 28 12:10:01 AM CEST 2023
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:30
-!- ChanServ changed mode/#tryton -> +o cedk 22:30
-!- yangoon(~yangoon@p5dd083d1.dip0.t-ipconnect.de) has joined #tryton04:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton05:48
-!- ChanServ changed mode/#tryton -> +o cedk 05:48
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:47ca:4636:10d:eda1) has joined #tryton09:14
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:47ca:4636:10d:eda1) has joined #tryton11:13
-!- rpit(~rpit@p200300c88f3f5b00202e27664fee210b.dip0.t-ipconnect.de) has joined #tryton14:04
LordVanpokoli, 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
LordVanactually typing that out made me realize a mistake I made with that (unconditionally setting it there)15:33
LordVannm that doesn't work15:34
LordVanwhich method would be the correct one to fill in that extra field in invoice ?15:34
LordVanI basically added this to both Sale and Invoice: sale_group_name = fields.Char('Sale group name')15:35
LordVanand in addition to thet overwrote _get_invoice_grouping-fields to return that extra field15:35
LordVanbut 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 #tryton16:39
LordVanI 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 #tryton18:34
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton19:17

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