IRC logs of #tryton for Monday, 2021-06-14

chat.freenode.net #tryton log beginning Mon Jun 14 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:42
-!- Pilou`(~Pilou@mx.ir5.eu) has joined #tryton02:01
-!- lucas_(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton02:01
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton02:01
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton02:01
-!- thaneor3(~acer8@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton02:01
-!- thaneor2(~ldlc6@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton02:01
-!- yangoon1(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton02:01
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton02:01
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton02:01
-!- ChanServ(ChanServ@services.) has joined #tryton02:01
-!- sisalp1(~sisalpuse@51.sisalp.net) has joined #tryton02:01
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton02:01
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton02:01
-!- Pilou`(~Pilou@mx.ir5.eu) has left #tryton05:15
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:15
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton05:19
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:35
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton05:48
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:48
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton05:48
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:48
-!- lucas_(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton05:48
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton05:48
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton05:48
-!- thaneor3(~acer8@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton05:48
-!- thaneor2(~ldlc6@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton05:48
-!- yangoon1(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton05:48
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton05:48
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton05:48
-!- ChanServ(ChanServ@services.) has joined #tryton05:48
-!- sisalp1(~sisalpuse@51.sisalp.net) has joined #tryton05:48
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton05:48
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton05:48
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton05:54
LordVan_hi05:54
LordVan_Is there an issue workflow / code wise if I add a button to go back to sale state 'draft' from 'processing' to just be able to fix stuff (like typos but also quantity maybe if there is a bit of surplus or so ?)05:56
LordVan_or is there no point and it makes more sense to just "fix" that directly on the delivery note / invoice only ?05:57
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:05
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:16
mrichezLordVan_: there's sale_amendment module to do such things07:54
LordVan_mrichez, does that also deal with possibly new delivery notes needed,.. ?07:56
LordVan_in any case thanks - i will look at it later07:56
mrichezLordVan_: best is to test to see if it suits what you need07:57
LordVan_i plan to do that yes :)07:59
LordVan_also gotta look into combining different sales into invoices07:59
LordVan_I forgot if I needed a seperate module to combine different sales into one invoice ..08:25
-!- thaneor(~ldlc6@r167-61-6-227.dialup.adsl.anteldata.net.uy) has joined #tryton09:00
-!- thaneor1(~acer8@r167-61-6-227.dialup.adsl.anteldata.net.uy) has joined #tryton09:01
-!- yangoon(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton09:49
-!- mariomop(~quassel@181.29.189.235) has joined #tryton10:41
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton11:30
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:13
-!- ludo2(~Thunderbi@236-17-127-151.dsl.ovh.fr) has joined #tryton12:19
mrichezLordVan_: https://hg.tryton.org/modules/sale_invoice_grouping/13:11
LordVan_yes that one . thanks ;) i didn'T have time to look yet13:11
LordVan_i gotta still look into the actual workflow for it too13:11
pokoliLordVan_: just read your blog post13:26
pokoliLordVan_: there is a typoe on the *awesome text13:26
pokoliLordVan_: and you should override get_component_order_line in order to set the extra fields value without requiring an extra save13:28
LordVan_ah yes ther eis a typo lol13:29
LordVan_pokoli, i did it like this as i found it easier than to override get_component_order_line tbh13:29
pokoliLordVan_: But you are forcing to trigger first an INSERT on the database and then an UPDATE13:31
LordVan_yes of course i know what you mean13:31
LordVan_just looking13:32
pokoliLordVan_: overriding the get_component_order_line will produce a single query with the right values13:32
LordVan_i was not sure how to get the values i need form that though tbh13:32
LordVan_since i would need to know what the parent was on that call13:32
LordVan_ah wait i got the component and that has the componet_parent set i assume13:33
pokoliLordVan_: parent is the instance where the method is called from13:33
LordVan_so i'D have to add values['folder_no'] = component.component_parent or so? (i am not sure what type component is right now tbh13:34
-!- ludo2(~Thunderbi@236-17-127-151.dsl.ovh.fr) has joined #tryton13:47
LordVan_pokoli, that said... I will leave my working code for now but will check what you suggested. feedback is always appreciated ;) -- and yes i of course agree 1 correct insert is better than 1 insert and then an update (although I doubt anyone would notice since we have like usually only 1 or 2 people who use the system at any given time tbh)13:59
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton14:43
LordVan_btw14:43
LordVan_sale_invoice_grouping ..14:48
LordVan_do i need a specific invoice method for that?14:48
LordVan_(i did not see anything in the code but ..)14:49
nicoeNope, IIRC it's an option on the party15:02
-!- thaneor2(~acer8@r167-61-106-95.dialup.adsl.anteldata.net.uy) has joined #tryton19:30
-!- thaneor3(~ldlc6@r167-61-106-95.dialup.adsl.anteldata.net.uy) has joined #tryton19:30
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton20:55

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