gnucash maint: Bug 670731 - Future Value not working with Loan Scheduled transaction

John Ralls jralls at code.gnucash.org
Fri Mar 24 19:46:13 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/3367e191 (commit)
	from  https://github.com/Gnucash/gnucash/commit/61bce182 (commit)



commit 3367e191c8072fe4e49b06c1e99d43f7fde0304f
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Mar 24 16:39:30 2017 -0700

    Bug 670731 - Future Value not working with Loan Scheduled transaction
    
    Correct the cell save routine so that the "numeric" kvp is correctly
    overwritten in all instances when an edit changes its value for both
    credit and debit splits. The both part is accomplished by extracting the
    overwrite function.
    
    Also provide a scrub to correct all of the incorrect files.
    Unfortunately the necessary calculation function is in app-utils so
    running the scrub from the backend as usual isn't possible, so we run it
    from gnc_post_file_open in gnome-utils/gnc-file.c instead.



Summary of changes:
 src/app-utils/gnc-sx-instance-model.c              |  52 +++++++++++
 src/app-utils/gnc-sx-instance-model.h              |   7 ++
 src/gnome-utils/gnc-file.c                         |  22 ++++-
 .../ledger-core/split-register-model-save.c        | 100 ++++++++-------------
 4 files changed, 115 insertions(+), 66 deletions(-)



More information about the gnucash-patches mailing list