chat.freenode.net #tryton log beginning Mon Jun 14 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:42 | |
-!- Pilou`(~Pilou@mx.ir5.eu) has joined #tryton | 02:01 | |
-!- lucas_(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton | 02:01 | |
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton | 02:01 | |
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | 02:01 | |
-!- thaneor3(~acer8@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton | 02:01 | |
-!- thaneor2(~ldlc6@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton | 02:01 | |
-!- yangoon1(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton | 02:01 | |
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | 02:01 | |
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton | 02:01 | |
-!- ChanServ(ChanServ@services.) has joined #tryton | 02:01 | |
-!- sisalp1(~sisalpuse@51.sisalp.net) has joined #tryton | 02:01 | |
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton | 02:01 | |
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton | 02:01 | |
-!- Pilou`(~Pilou@mx.ir5.eu) has left #tryton | 05:15 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:15 | |
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton | 05:19 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:35 | |
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton | 05:48 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:48 | |
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton | 05:48 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:48 | |
-!- lucas_(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton | 05:48 | |
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton | 05:48 | |
-!- g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton | 05:48 | |
-!- thaneor3(~acer8@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton | 05:48 | |
-!- thaneor2(~ldlc6@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton | 05:48 | |
-!- yangoon1(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton | 05:48 | |
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | 05:48 | |
-!- buxy(~rhertzog@helios.freexian.com) has joined #tryton | 05:48 | |
-!- ChanServ(ChanServ@services.) has joined #tryton | 05:48 | |
-!- sisalp1(~sisalpuse@51.sisalp.net) has joined #tryton | 05:48 | |
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton | 05:48 | |
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton | 05:48 | |
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton | 05:54 | |
LordVan_ | hi | 05: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 #tryton | 06:05 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 07:16 | |
mrichez | LordVan_: there's sale_amendment module to do such things | 07: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 later | 07:56 |
mrichez | LordVan_: best is to test to see if it suits what you need | 07:57 |
LordVan_ | i plan to do that yes :) | 07:59 |
LordVan_ | also gotta look into combining different sales into invoices | 07: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 #tryton | 09:00 | |
-!- thaneor1(~acer8@r167-61-6-227.dialup.adsl.anteldata.net.uy) has joined #tryton | 09:01 | |
-!- yangoon(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton | 09:49 | |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 10:41 | |
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton | 11:30 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:05 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 12:13 | |
-!- ludo2(~Thunderbi@236-17-127-151.dsl.ovh.fr) has joined #tryton | 12:19 | |
mrichez | LordVan_: https://hg.tryton.org/modules/sale_invoice_grouping/ | 13:11 |
LordVan_ | yes that one . thanks ;) i didn'T have time to look yet | 13:11 |
LordVan_ | i gotta still look into the actual workflow for it too | 13:11 |
pokoli | LordVan_: just read your blog post | 13:26 |
pokoli | LordVan_: there is a typoe on the *awesome text | 13:26 |
pokoli | LordVan_: and you should override get_component_order_line in order to set the extra fields value without requiring an extra save | 13:28 |
LordVan_ | ah yes ther eis a typo lol | 13:29 |
LordVan_ | pokoli, i did it like this as i found it easier than to override get_component_order_line tbh | 13:29 |
pokoli | LordVan_: But you are forcing to trigger first an INSERT on the database and then an UPDATE | 13:31 |
LordVan_ | yes of course i know what you mean | 13:31 |
LordVan_ | just looking | 13:32 |
pokoli | LordVan_: overriding the get_component_order_line will produce a single query with the right values | 13:32 |
LordVan_ | i was not sure how to get the values i need form that though tbh | 13:32 |
LordVan_ | since i would need to know what the parent was on that call | 13:32 |
LordVan_ | ah wait i got the component and that has the componet_parent set i assume | 13:33 |
pokoli | LordVan_: parent is the instance where the method is called from | 13: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 tbh | 13:34 |
-!- ludo2(~Thunderbi@236-17-127-151.dsl.ovh.fr) has joined #tryton | 13: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 #tryton | 14:43 | |
LordVan_ | btw | 14: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 |
nicoe | Nope, IIRC it's an option on the party | 15:02 |
-!- thaneor2(~acer8@r167-61-106-95.dialup.adsl.anteldata.net.uy) has joined #tryton | 19:30 | |
-!- thaneor3(~ldlc6@r167-61-106-95.dialup.adsl.anteldata.net.uy) has joined #tryton | 19:30 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 20:55 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!