gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Dec 14 11:05:35 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/3eef8841 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a513140e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cbb0c36a (commit)
	from  https://github.com/Gnucash/gnucash/commit/e4ac6b48 (commit)



commit 3eef884100b2d18aa8ccce6f0b55a338d1047dfb
Merge: e4ac6b480 a513140e1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Dec 15 00:04:51 2019 +0800

    Merge branch 'maint' and fix test-owner-report

commit a513140e15e0a154c2c010c7170a6412d05784df
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Dec 13 23:42:08 2019 +0800

    [new-owner-report] use gnc-lot API for searching business links
    
    Previous would search invoices->payments and payment->invoices during
    the report by analysing each posting and payment txn.
    
    This change will remove the splits searching and use gnc-lot API to
    find these links.
    
    * also use ice-9 match for easier matching
    * also use global gnc:multiline-to-html-text
    * also remove some duplicate sanity checks

commit cbb0c36ad4f47f40ca45c8fe0ede6de60f4a4e9e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Dec 14 12:24:32 2019 +0800

    [test-owner-report] properly test link amounts
    
    Previous test wasn't comprehensive; due to variable row lengths,
    the (td 11) wouldn't consistently select the link amount. using
    (td -1) will select the last <td> element in the row.
    
    Moreover also test the class-name to target the link amounts otherwise
    other elements (eg the aging-list) will also be returned.



Summary of changes:
 .../report/reports/standard/new-owner-report.scm   | 230 ++++++++++-----------
 .../reports/standard/test/test-owner-report.scm    |  19 +-
 2 files changed, 122 insertions(+), 127 deletions(-)



More information about the gnucash-patches mailing list