New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: When adding repetitive bills with "Repeat until" set to "No limit" thousands of bills are created in advance #201
Comments
Thanks for the bug report. I can't reproduce this. Bill repetition is not supposed to create bills in the future. Which version of Cospend/Nextcloud are you using? |
Thank you for your answer. Nextcloud version: 25.0.2 I have tried to reproduce the issue with new projects, but so far it has not worked either. |
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@ouaisbahouais Thanks for reporting this too. I gave it a closer look, imported a IHateMoney project and could reproduce the bug. The fix is available in Cospend v1.5.9 which is out. |
I have searched a bit to find out how to delete false invoices. But I can't find a way to delete between one date and another. Because I think I have 35000 lines to delete. Thanks for your help in any case |
If you have access to your database you could run a DELETE query with a condition on the timestamp column. The simplest query you could run is Problem is this will not delete the related rows in |
I could also implement a basic feature in Cospend to delete bills with date filters. Let's see if I find time and motivation to add that. |
@ouaisbahouais v1.5.10 is out and includes a new occ command to delete bills. occ cospend:delete-bills PROJECT_ID --what="WHAT" --min_timestamp=MIN_TIMESTAMP --simulate "--what" and "--min_timestamp" are optional. I'm interested in any kind of feedback on this new feature. |
Issue/Actual behaviour:
When creating repetitive bills with Repeat until set to no limitation, thousands of bills are in advanced created - up to the year 12491!
Expected behaviour:
If Repeat until is set to No limit when creating repetitive invoices, the invoices are created one after the other when the set repetition time is reached each time. In this case, it would be every 1st day of the month.
The text was updated successfully, but these errors were encountered: