gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Sat Dec 14 04:20:48 EST 2019
Updated 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/b372f288 (commit)
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/business-reports/new-owner-report.scm | 230 ++++++++++-----------
.../business-reports/test/test-owner-report.scm | 16 +-
2 files changed, 121 insertions(+), 125 deletions(-)
More information about the gnucash-patches
mailing list