| irc.libera.chat #tryton log beginning Tue Jan 9 12:10:01 AM CET 2024 | ||
| -!- Pegasus_RPG(~Thunderbi@wsip-184-184-229-74.lv.lv.cox.net) has joined #tryton | 23:53 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:10 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 00:10 | |
| -!- springwurm(~springwur@2a01:76c0:104:c700:1010:45f1:406:2cbb) has joined #tryton | 06:09 | |
| -!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 07:12 | |
| -!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:24 | |
| -!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton | 07:37 | |
| LordVan | hi. Quick question: sale_sale keeps skipping sequence numbers (most notably from 2 all the way to 9 yesterday) .. This seems to be weirdly happening more at the moment.. I would like to find out why it happens and if it is maybe a fult in one of my modules. where would I best put some debugging/trace that would give me meaningful data? | 07:38 |
|---|---|---|
| -!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:58 | |
| -!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton | 08:25 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:29 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 08:29 | |
| -!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 08:42 | |
| -!- dotbit(~dotbit@dotbit.ro) has joined #tryton | 10:43 | |
| -!- springwurm(~springwur@2a01:76c0:104:c700:4e02:7a1e:d0e5:6048) has joined #tryton | 13:10 | |
| LordVan | hmm would a "UserError" when going fom draft to quote on sale_sale potentially cause a skipped sale number? | 14:26 |
| pokoli | LordVan: yes, because the transaction is rollback and the number already consumed | 14:34 |
| LordVan | cuz set_number is called early | 14:35 |
| LordVan | hmm | 14:35 |
| LordVan | ah it is | 14:35 |
| LordVan | because i run super().quote(sales) before my own logic I guess? | 14:35 |
| LordVan | let me re-check my code if there is any issue without doing my checks first | 14:36 |
| pokoli | LordVan: yes, doing the check before the super call will avoid the empty numbering | 14:49 |
| LordVan | such a silly mistake that took me a while to figure out | 14:49 |
| LordVan | gonna test it, but thanks for the quick answer/explaination :) | 15:02 |
| -!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton | 15:45 | |
| -!- Pegasus_RPG(~Thunderbi@169.241.72.12) has joined #tryton | 19:04 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21:38 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 21:38 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:27 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 22:27 | |
| -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:53 | |
| -!- ChanServ changed mode/#tryton -> +o cedk | 22:53 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!