gnucash master: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Sat Feb 8 09:25:23 EST 2020
Updated via https://github.com/Gnucash/gnucash/commit/50b882aa (commit)
via https://github.com/Gnucash/gnucash/commit/f07c7e6f (commit)
from https://github.com/Gnucash/gnucash/commit/69df81e7 (commit)
commit 50b882aa82cc1ce0b2133f1107470705bab30180
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Feb 8 22:21:46 2020 +0800
[test-new-owner-report] import reports to allow testing
diff --git a/gnucash/report/reports/standard/test/test-new-owner-report.scm b/gnucash/report/reports/standard/test/test-new-owner-report.scm
index 2847272dc..ffc9a20f0 100644
--- a/gnucash/report/reports/standard/test/test-new-owner-report.scm
+++ b/gnucash/report/reports/standard/test/test-new-owner-report.scm
@@ -5,6 +5,7 @@
(use-modules (gnucash reports standard invoice))
(use-modules (gnucash report stylesheets plain)) ; For the default stylesheet, required for rendering
(use-modules (gnucash report))
+(use-modules (gnucash reports))
(use-modules (tests test-report-extras))
(use-modules (srfi srfi-1))
(use-modules (srfi srfi-64))
commit f07c7e6fa791dc43d6b85498e367683b041166e9
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Feb 8 22:16:56 2020 +0800
[new-owner-report] use engine's debit/credit string functions
... instead of the deprecated ones
diff --git a/gnucash/report/reports/standard/new-owner-report.scm b/gnucash/report/reports/standard/new-owner-report.scm
index a500d3b0c..ac5cc9f66 100644
--- a/gnucash/report/reports/standard/new-owner-report.scm
+++ b/gnucash/report/reports/standard/new-owner-report.scm
@@ -210,10 +210,10 @@
(addto! heading-list (_ tax-header)))
(if (debit-col column-vector)
(addto! heading-list
- (if formal? debit-header (gnc:get-debit-string acct-type))))
+ (if formal? debit-header (gnc-account-get-debit-string acct-type))))
(if (credit-col column-vector)
(addto! heading-list
- (if formal? credit-header (gnc:get-credit-string acct-type))))
+ (if formal? credit-header (gnc-account-get-credit-string acct-type))))
(if (bal-col column-vector)
(addto! heading-list (_ balance-header)))
(case link-option
Summary of changes:
gnucash/report/reports/standard/new-owner-report.scm | 4 ++--
gnucash/report/reports/standard/test/test-new-owner-report.scm | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list