gnucash master: Bug 797033 - The CSV Importer should not obey with the "automatic digital point" setting

Geert Janssens gjanssens at code.gnucash.org
Fri Feb 24 17:09:12 EST 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/26482f39 (commit)
	from  https://github.com/Gnucash/gnucash/commit/fcbda57a (commit)



commit 26482f397b57915b73805e48f5543f70b5aeddc0
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Feb 24 22:35:40 2023 +0100

    Bug 797033 - The CSV Importer should not obey with the "automatic digital point" setting
    
    Expose variations of xaccParseAmount and
    xaccParseAmountExtended that will ignore the
    automatic decimal point user preference.
    This preference is really only useful for manual number
    entering in the register.
    
    The xaccParseAmountImport variant replaces xaccParseAmountPosSign
    which was used exclusively by the csv importers.
    Like xaccParseAmountPosSign, this replacement has the flag
    to ignore or parse the positive number indicator.



Summary of changes:
 .../import-export/csv-imp/gnc-imp-props-price.cpp  |   6 +-
 gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp |   6 +-
 libgnucash/app-utils/gnc-ui-util.c                 | 381 ++++++++++++---------
 libgnucash/app-utils/gnc-ui-util.h                 |  44 ++-
 4 files changed, 248 insertions(+), 189 deletions(-)



More information about the gnucash-patches mailing list