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 723644 - 'Import Bills & Invoices' fails to import invoice if existing bill has same id
'Import Bills & Invoices' fails to import invoice if existing bill has same id
Status: RESOLVED INCOMPLETE
Product: GnuCash
Classification: Other
Component: Import - Other
2.6.1
Other All
: Normal normal
: ---
Assigned To: Mike Evans
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2014-02-05 01:32 UTC by nik gaffney
Modified: 2018-06-29 23:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nik gaffney 2014-02-05 01:32:10 UTC
'Import Bills & Invoices' will not create or update an invoice if there is an existing bill with the same id. The importer appears to report 'success' if the file to import contains valid data, however the details don't appear. This is a problem if a customer and vendor both use the same invoice numbering scheme (eg. 20140001)
Comment 1 Mike Evans 2014-02-05 09:19:51 UTC
That is the correct behaviour and is designed to avoid having duplicate invoice numbers as well as enabling multi line invoices.  What it does is to update the invoice, with an existing id, by adding the new lines to the existing invoice.  Each line of the CSV being imported is an invoice line.
Comment 2 nik gaffney 2014-02-05 10:02:06 UTC
I would expect this to be the corect behaviour for importing *invoices* with the same numbers as exiting *invoices* (i.e. add details to an exiting customer invoice). But the problem occurs when importing *invoices* (i.e. customer) with the same id as an exiting *bill* (i.e. vendor)
Comment 3 nik gaffney 2014-02-05 10:03:42 UTC
s/exiting/existing/
Comment 4 Mike Evans 2014-02-05 10:37:59 UTC
Apologies, I misread your report.
Comment 5 Mike Evans 2014-02-09 17:07:18 UTC
Commited a fix.  

nik.  If you compiling drom source can you test this please.  Anyone else are also welcome as testers.

commit 40c236b9e0650ba88039e9aeeaab6055ef42fde8
Comment 6 nik gaffney 2014-02-11 08:06:59 UTC
I'm not compiling from source atm. but i'll certainly test either a nightly (if there are any?) or the next version.
Comment 7 Mike Evans 2014-04-30 09:50:57 UTC
Can I assume this is fixed?
Comment 8 nik gaffney 2014-04-30 10:04:22 UTC
I'll check with the recent 2.6.3 release
Comment 9 Mike Evans 2014-08-23 09:54:14 UTC
And the result is?..
Comment 10 Mike Evans 2014-10-18 08:40:35 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 11 John Ralls 2018-06-29 23:26:04 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=723644. Please update any external references or bookmarks.