gnucash maint: Bug 756416 - CSV data with Posted information will always have last invoice not posted.
Mike Evans
mikee at code.gnucash.org
Tue Jul 12 10:17:41 EDT 2016
Updated via https://github.com/Gnucash/gnucash/commit/cc1b68a3 (commit)
from https://github.com/Gnucash/gnucash/commit/6ad8ff3b (commit)
commit cc1b68a3296fc1e3eaba814d80dc6bcec41cbc48
Author: Mike Evans <mikee at saxicola.co.uk>
Date: Tue Jul 12 15:08:09 2016 +0100
Bug 756416 - CSV data with Posted information will always have last invoice not posted.
When importing the last line of the CSV the gtk_tree_model_get() never happens
and the following compare uses the previous value of new_id, which is now = id,
so the last invoice is never posted.
Set new_id = Null before gtk_tree_model_get() to ensure processing the last line.
Summary of changes:
src/plugins/bi_import/dialog-bi-import.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
More information about the gnucash-patches
mailing list