You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Premise: When manually entering invoice numbers without using the invoice number generator placeholders, it could happen that you enter a number which already exists.
When creating an invoice and selecting "Mark as exported" in the "Filter invoice data" settings, everything works as expected, even the preview. If you then choose to save the invoice, the error message
"Changes could not be saved: Invoice "xyz" already exists"
but the time records are marked as exported. Now you have to figure out which time records were on that invoice and manually mark them as open / not exported.
=> I'd expect the time records to not be marked as exported when errors occur.
To Reproduce
Go to 'Invoices'
Manually set invoice number
Save an invoice with that number (this should succeed)
Enable "Mark as exported"
Save another invoice
See error message "invoice already exists"
Note that time records are marked as exported
Logfile
This is on Kimai cloud, no logs available.
Additional context
Kimai version: 1.15.6
PHP version: ?.?
Device: Kimai Cloud
Browser Chrome
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.
Describe the bug
Premise: When manually entering invoice numbers without using the invoice number generator placeholders, it could happen that you enter a number which already exists.
When creating an invoice and selecting "Mark as exported" in the "Filter invoice data" settings, everything works as expected, even the preview. If you then choose to save the invoice, the error message
"Changes could not be saved: Invoice "xyz" already exists"
but the time records are marked as exported. Now you have to figure out which time records were on that invoice and manually mark them as open / not exported.
=> I'd expect the time records to not be marked as exported when errors occur.
To Reproduce
Logfile
This is on Kimai cloud, no logs available.
Additional context
The text was updated successfully, but these errors were encountered: