chat.freenode.net #tryton log beginning Fri Jan 13 00:00:01 CET 2017 | ||
2017-01-13 00:37 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton | ||
2017-01-13 01:34 -!- nramirezuy(~nramirezu@r167-62-183-120.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 01:37 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-01-13 01:38 -!- nramirezuy(~nramirezu@r167-62-183-120.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 02:32 -!- JosDzGx(~Thunderbi@187.188.72.36) has joined #tryton | ||
2017-01-13 03:01 -!- thaneor(~ldlc6@r186-48-70-140.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 03:05 -!- nramirezuy(~nramirezu@r167-62-183-120.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 04:46 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-01-13 04:51 -!- nramirezuy(~nramirezu@r167-62-183-120.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 05:41 -!- travis_(616312eb@gateway/web/freenode/ip.97.99.18.235) has joined #tryton | ||
2017-01-13 05:43 <travis_> Any tips on why my Tryton client is never in English after the first time. I've tried multiple OS's and it always ends up in Russian, German, or French | ||
2017-01-13 06:42 -!- robinak(~quassel@unaffilated/robink) has joined #tryton | ||
2017-01-13 07:12 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton | ||
2017-01-13 08:44 -!- rpit(~rpit@aftr-37-24-149-240.unity-media.net) has joined #tryton | ||
2017-01-13 08:55 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2017-01-13 09:51 -!- thaneor(~ldlc6@r186-48-52-216.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 09:56 -!- Timitos(~kpreisler@tmo-122-96.customers.d1-online.com) has joined #tryton | ||
2017-01-13 10:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2017-01-13 10:18 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton | ||
2017-01-13 10:53 <buxy> I have a problem where moves created by invoices are duplicated once in draft, and once in posted mode. Is that a known bug with 4.2? | ||
2017-01-13 10:55 <buxy> It does not do it for all invoices, only some supplier invoices but I can't pinpoint the underlying problem. Usually I duplicate a former supplier invoice. It might be related. | ||
2017-01-13 10:57 -!- JanGB(~jan@business-178-015-079-061.static.arcor-ip.net) has joined #tryton | ||
2017-01-13 11:03 <pokoli> buxy: it's the first time a hear about this issue | ||
2017-01-13 11:04 <pokoli> buxy: but moves, are created by purchase not by invoice | ||
2017-01-13 11:07 <buxy> pokoli: I'm not sure what difference you make, I use a screen named "Factures fournisseur" in French, and it means "Supplier invoices" | ||
2017-01-13 11:08 <pokoli> buxy: but you create the invoices directly from there or you use the purchase workflow? | ||
2017-01-13 11:08 <buxy> yes, we create the invoices there | ||
2017-01-13 11:09 <nicoe> pokoli: he's talking about accounting moves I think | ||
2017-01-13 11:10 <buxy> nicoe: yes, accounting moves | ||
2017-01-13 11:10 <pokoli> buxy: sorry I get confused with stock moves :( | ||
2017-01-13 11:11 <pokoli> buxy: maybe when you duplicate a posted invoice it's related move is also duplicated? | ||
2017-01-13 11:12 <nicoe> pokoli: move is reset to None in copy | ||
2017-01-13 11:12 <nicoe> buxy: it seems very strange | ||
2017-01-13 11:13 <pokoli> buxy: I agree with nicoe, it will be great if you can provide some steps to reproduce :$ | ||
2017-01-13 11:14 <buxy> Yeah, I'll try to figure out at which point the moves are created. But since it doesn't do it for all invoices, it's not yet clear how I will reproduce it... | ||
2017-01-13 11:14 <nicoe> buxy: when you say that the moves are duplicated what does it mean | ||
2017-01-13 11:15 <buxy> it means I have move 1450 and move 1451 with similar lines, both associated to the same invoice (Origin field) but one is in draft mode and the other is posted with a sequence number | ||
2017-01-13 11:16 <cedk> buxy: issue4980 | ||
2017-01-13 11:18 <buxy> cedk: I don't have the account_invoice_stock module? | ||
2017-01-13 11:19 <buxy> as nicoe pointed out, we are speaking of accounting moves, not of stock moves | ||
2017-01-13 11:20 <cedk> buxy: which modules have you? | ||
2017-01-13 11:27 <buxy> cedk: https://paste.debian.net/908576/ | ||
2017-01-13 11:28 <buxy> (the freexian module only overrides some reports) | ||
2017-01-13 11:33 <cedk> buxy: are the moves exactly the same? | ||
2017-01-13 11:34 <buxy> cedk: yes | ||
2017-01-13 11:35 <buxy> except for the status, post number, post date | ||
2017-01-13 11:36 <cedk> buxy: even if you change something in the invoice after duplicate? | ||
2017-01-13 11:38 <buxy> this is for posted invoices, so I can't change anything at this point, and the moves are different from the original invoice that we used to duplicate, we change labels and amounts frequently | ||
2017-01-13 11:40 <cedk> buxy: I mean changing the duplicates | ||
2017-01-13 11:41 <buxy> I just discovered the problem this morning, I don't know yet when the duplicate is created, I just know that I have it for posted invoices | ||
2017-01-13 11:41 <buxy> I'll do some tries later | ||
2017-01-13 11:42 <buxy> ..for some posted supplier invoices.. | ||
2017-01-13 11:44 <cedk> this may be the problem: http://hg.tryton.org/modules/account_invoice/file/default/invoice.py#l1315 | ||
2017-01-13 11:45 <cedk> from changeset 994ce81795a7 | ||
2017-01-13 11:48 <cedk> if the transition is called with a list which contains many time the same invoice, it will create more than one move | ||
2017-01-13 11:48 <cedk> now, why is the transition called with many times the same invoice | ||
2017-01-13 11:49 <cedk> buxy: how are you posting your invoice? | ||
2017-01-13 11:49 <buxy> cedk: with the button on the supplier invoice view | ||
2017-01-13 11:50 <buxy> (usually by clicking first on "validate" and then on "post") | ||
2017-01-13 11:52 <buxy> I have found a first way to create a move: click validate, then click draft again | ||
2017-01-13 11:52 <buxy> and I have the draft move | ||
2017-01-13 11:53 <cedk> buxy: it should be deleted: http://hg.tryton.org/modules/account_invoice/file/default/invoice.py#l1276 | ||
2017-01-13 11:54 <buxy> well, when I click validate I have no move at all | ||
2017-01-13 11:54 <buxy> it gets only created when I click draft | ||
2017-01-13 11:54 <buxy> and when I post, I get the correct posted move which is similar | ||
2017-01-13 11:55 <buxy> it can't be deleted because invoice.move is still None | ||
2017-01-13 11:57 <cedk> buxy: I do not understand | ||
2017-01-13 11:58 -!- Timitos1(~kpreisler@business-178-015-079-061.static.arcor-ip.net) has joined #tryton | ||
2017-01-13 12:00 <buxy> cedk: I duplicate my old supplier invoice, no new account moves | ||
2017-01-13 12:00 <buxy> I click validate, no new account moves (and nothing show in the invoice.move field) | ||
2017-01-13 12:01 <buxy> I click draft, new account move appeared in draft mode in the "Account moves" view (but invoice.move is still empty) | ||
2017-01-13 12:04 <buxy> let me double check the second step, it would seem logical that it gets created at this point | ||
2017-01-13 12:07 <cedk> buxy: OK I got it, I think | ||
2017-01-13 12:07 <cedk> buxy: I'm writting a scenario test | ||
2017-01-13 12:07 <buxy> ok, I was wrong, the account move is created at step 2 but not recorded in invoice.move | ||
2017-01-13 12:08 <cedk> buxy: yes I think the issue is the save in validate_invoice | ||
2017-01-13 12:09 <cedk> but there are still the potential issue about multiple invoice in the list | ||
2017-01-13 12:12 <buxy> what's wrong with cls.save(invoices) in that function compared to the same in post? should we use cls.save(invoices_in) ? | ||
2017-01-13 12:13 <buxy> because browse returns copies of the objects? | ||
2017-01-13 12:19 <cedk> buxy: yes, this is my assumption | ||
2017-01-13 12:20 <cedk> buxy: my tests already fails without fix | ||
2017-01-13 12:20 <cedk> buxy: running now with a fix | ||
2017-01-13 12:27 <cedk> buxy: https://bugs.tryton.org/issue6185 | ||
2017-01-13 12:38 <buxy> cedk: thanks, sent a review and checked that it fixed my issue | ||
2017-01-13 12:43 -!- JanGB(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton | ||
2017-01-13 12:47 -!- mamcode_(~mamcode@190-204-4-95.dyn.dsl.cantv.net) has joined #tryton | ||
2017-01-13 12:59 -!- Timitos(~kpreisler@business-088-079-110-234.static.arcor-ip.net) has joined #tryton | ||
2017-01-13 13:50 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-01-13 14:26 -!- lukio(~lukio@201.216.209.29) has joined #tryton | ||
2017-01-13 15:09 -!- lukio(~lukio@181.45.71.112) has joined #tryton | ||
2017-01-13 15:34 -!- JanGB(~jan@business-088-079-110-234.static.arcor-ip.net) has joined #tryton | ||
2017-01-13 16:01 -!- kstenger(~karla@r186-48-39-199.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 16:52 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton | ||
2017-01-13 17:06 -!- Timitos(~kpreisler@tmo-123-64.customers.d1-online.com) has joined #tryton | ||
2017-01-13 17:13 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton | ||
2017-01-13 17:23 -!- perilla(~perilla@corp-190-57-169-210.cue.puntonet.ec) has joined #tryton | ||
2017-01-13 17:39 -!- lukio(~lukio@181.45.71.112) has left #tryton | ||
2017-01-13 17:47 -!- Timitos(~kpreisler@tmo-103-11.customers.d1-online.com) has joined #tryton | ||
2017-01-13 18:11 -!- Timitos(~kpreisler@tmo-103-11.customers.d1-online.com) has joined #tryton | ||
2017-01-13 20:09 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton | ||
2017-01-13 20:26 -!- mamcode_(~mamcode@190-204-4-95.dyn.dsl.cantv.net) has joined #tryton | ||
2017-01-13 20:51 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton | ||
2017-01-13 20:54 -!- nramirezuy(~nramirezu@r167-62-179-105.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 21:41 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton | ||
2017-01-13 21:43 -!- smarro(~sebastian@181.16.7.104) has joined #tryton | ||
2017-01-13 21:52 -!- thaneor1(~ldlc6@r186-48-179-20.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 21:56 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton | ||
2017-01-13 21:58 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton | ||
2017-01-13 22:36 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton | ||
2017-01-13 22:39 -!- JanGB(~jan@dslb-088-073-241-030.088.073.pools.vodafone-ip.de) has joined #tryton | ||
2017-01-13 23:10 -!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton | ||
2017-01-13 23:58 -!- kstenger(~karla@r186-50-60-218.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2017-01-13 23:59 -!- JosDzG(~Thunderbi@187.188.72.36) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!