After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768085 - GnuCash create new Customer invoice instead of vendor bill and duplicate invoice numbers
GnuCash create new Customer invoice instead of vendor bill and duplicate invo...
Status: RESOLVED DUPLICATE of bug 625505
Product: GnuCash
Classification: Other
Component: Business
2.6.12
Other Linux
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2016-06-27 09:42 UTC by François Guerraz
Modified: 2018-06-29 23:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description François Guerraz 2016-06-27 09:42:47 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.
Comment 1 Mike Evans 2016-06-27 14:55:01 UTC
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 ***
Comment 2 François Guerraz 2016-06-27 18:30:46 UTC
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.
Comment 3 Geert Janssens 2016-06-28 07:34:09 UTC
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 ***
Comment 4 John Ralls 2018-06-29 23:49:45 UTC
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.