GNOME Bugzilla – Bug 768085
GnuCash create new Customer invoice instead of vendor bill and duplicate invoice numbers
Last modified: 2018-06-29 23:49:45 UTC
If one creates a new vendor bill using the new bill dialogue, the first problem is that once the vendor is selected, autocomplete allows the user to select a Customer job. If a customer job is selected what is created is a Customer Invoice with the next available Vendor bill number as an invoice number, resulting in an unusable bill document and a duplicate invoice number if there are fewer bills than invoices.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 625505 ***
I'm sorry, but the fact that it leads to duplicate invoice numbers is a different bug and a lot more serious. Yes, it's triggered by bug 625505 but considering it was reported 6 years ago, I guess it's not going to be solved overnight, this one should be fixed independently, either by refusing to validate the "new bill" form or by creating an actual bill but not linked to this job.
While some jurisdictions require continuous numbering, Gnucash doesn't enforce bill or invoice numbers in any way. It only suggests numbers as a convenience. So having duplicate numbers is not considered a bug in the current gnucash design. If you have a wrong number as for example triggered by bug 625505, you can simply change the number manually (you may have to unpost the invoice before doing so). Then you can correct the next number to be issued via File->Properties->Counters. I agree with Mike that fixing bug 625505 would solve your immediate issue and hence agree with his action to mark this one as a duplicate. *** This bug has been marked as a duplicate of bug 625505 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=768085. Please update any external references or bookmarks.