gnucash maint: Bug 760398 - Cancelling the creation of a duplicate bill or invoice doesn't reset the invoice number counter
Mike Evans
mikee at code.gnucash.org
Sun Jan 10 17:10:39 EST 2016
Updated via https://github.com/Gnucash/gnucash/commit/d8a74b3a (commit)
from https://github.com/Gnucash/gnucash/commit/abeb07bc (commit)
commit d8a74b3a8bf38276ee65c85c9c694a8605534218
Author: Mike Evans <mikee at saxicola.co.uk>
Date: Sun Jan 10 16:15:24 2016 +0000
Bug 760398 - Cancelling the creation of a duplicate bill or invoice doesn't reset the invoice number counter
Don't set the invoice ID before the user has clicked OK in the dialog.
If the user cancels in the dialog the counter would have already been
incrementd. Making the ID an empty string makes the ID be set in
gnc_invoice_window_verify_ok().
Summary of changes:
src/business/business-gnome/dialog-invoice.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
More information about the gnucash-patches
mailing list