gnucash maint: Multiple changes pushed

Christopher Lam clam at
Sat Jan 18 20:24:53 EST 2020

Updated	 via (commit)
	 via (commit)
	 via (commit)
	from (commit)

commit b9601e012c18a72c8ab808a6043203eb255e89cf
Author: Christopher Lam <christopher.lck at>
Date:   Sun Jan 19 03:31:53 2020 +0800

    Bug 797584 - New-owner - bill amount field links to wrong account
    Amounts formerly linked to the 'transfer' split which is not reliably
    determined. Link to the APAR split instead.
    Note whereby a payment spans multiple invoices, it'll link to the
    first APAR payment split.

commit 220eb9529189202bee3fa7c3c290cdfb3569ca40
Author: Christopher Lam <christopher.lck at>
Date:   Sat Jan 18 21:10:25 2020 +0800

    [new-aging] speed up by skipping several loops
    Consider a list of APAR splits, from N accounts. For each account,
    their splits needed to find unique valid owners.
    Previous algorithm would loops splits several times (1) each split
    finds its owner, and log invalid ones, and (2) delete owner
    New algorithm will take the first split's owner, skip if invalid, then
    process all owner-splits, the reloop with other-owners-splits. The
    invalid-splits list is also managed within loops for better stack
    Also use (ice-9 match) for conciseness.

commit e788480e34a09e2469b876953c61c2d652245eb9
Author: Christopher Lam <christopher.lck at>
Date:   Sat Jan 18 22:26:58 2020 +0800

    [new-aging] replace split->lot->split->lot with split->lot
    remove unnecessary call to get earliest-split

Summary of changes:
 gnucash/report/business-reports/new-aging.scm      | 109 ++++++++++-----------
 .../report/business-reports/new-owner-report.scm   |   2 +-
 2 files changed, 51 insertions(+), 60 deletions(-)

More information about the gnucash-patches mailing list