GnuCash
Contact   Instructions
Bug 797023 - Import Bills & Invoices: no user confirmation requested for update of invoices, if new invoices is created first.
Summary: Import Bills & Invoices: no user confirmation requested for update of invoice...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Import - CSV (show other bugs)
Version: git-maint
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Rob Laan
QA Contact: import
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-07 07:10 EST by Rob Laan
Modified: 2020-01-30 15:53 EST (History)
3 users (show)

See Also:


Attachments
Import files to illustrate the bug (134 bytes, text/plain)
2019-01-07 07:15 EST, Rob Laan
no flags Details
Import file 2 to illustrate the bug (268 bytes, text/csv)
2019-01-07 07:16 EST, Rob Laan
no flags Details

Description Rob Laan 2019-01-07 07:10:20 EST
In the function Import Bills & Invoices, if the import file contains existing invoices, the user is asked, once per import session, to confirm that update of existing invoices is expected.

But if an earlier row in the import file was for a new invoice, GnuCash does not request confirmation from the user if subsequent rows are for existing invoices.
Comment 1 Rob Laan 2019-01-07 07:15:02 EST
Created attachment 373109 [details]
Import files to illustrate the bug

Using book with common and business accounts, dd/mm/yyyy date format, vendor 2001.
The first file will import an invoice, so that we have an existing invoice.
The second file contains a row for a new invoice, and a row for an update of our existing invoice.

GnuCash updates the invoice without confirmation from the user.

(If the order of the two data were reversed, GnuCash *would* ask for that confirmation.)
Comment 2 Rob Laan 2019-01-07 07:16:50 EST
Created attachment 373110 [details]
Import file 2 to illustrate the bug

See comment at previous attachment.
Comment 3 Rob Laan 2020-01-30 15:53:20 EST
Pull request #457 merged into maint, https://github.com/Gnucash/gnucash/pull/457.

Note You need to log in before you can comment on or make changes to this bug.