gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed Aug 26 11:58:14 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/a50c188d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3b312e75 (commit)
	from  https://github.com/Gnucash/gnucash/commit/c210ceb3 (commit)



commit a50c188dca02890c37af4c535b54fad5e2db13f2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Aug 26 23:16:55 2020 +0800

    Bug 797923 - Running employee report results in "Unbound variable: txn"
    
    The bug was triggered by txn referring to the invalid split being
    used *outside* the let environment. Use (car splits) instead for
    logging. Also augment error handling by listing the invalid splits
    before the aging-list.

commit 3b312e754898899a5bc97d1df87b88501c884097
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Aug 19 20:19:13 2020 +0800

    [report-utilities] more dump data functions
    
    Two API to dump splits in whole book:
    * gnc:dump-book             - splits grouped by account
    * gnc:dump-all-transactions - splits grouped by transaction
    * gnc:dump-split - dumps single split
    
    Example output -- note (gnc:dump-book) dumps each account followed by
    its splits, then account balance. (gnc:dump-all-transactions) dumps all
    transactions in date order, each followed by its splits.
    
    (gnc:dump-book)
    
    Account 8e56ef54: <Expense> Comm<USD> Type<Expense>
    n Split 5dd1c0a9: 05/11/19 Amt<$200.00> $200.00 Desc<vend1> Memo<AP>
    n Split f9cb052f: 05/11/19 Amt<$20.00> $20.00 Desc<emp1> Memo<vouch1>
    n Split daafc64b: 05/11/19 Amt<$69.00> $69.00 Desc<vend1> Memo<job-bill>
    n Split 5e6af9fe: 14/11/19 Amt<$86.00> $86.00 Desc<emp1> Memo<emp-voucher>
    n Split 6d636ea2: 14/11/19 Amt<$46.00> $46.00 Desc<vend1>
    n Split e618644b: 14/12/19 Amt<-$100.00> -$100.00 Desc<Vend-USD>
    n Split 8be19fbd: 25/12/19 Amt<-$46.00> -$46.00 Desc<Vend-USD> Memo<CN$100-desc>
    n Split ee4fe250: 01/04/20 Amt<$32.00> $32.00 Desc<Cell phone>
    n Split 2cb02dac: 09/05/20 Amt<-$307.00> -$307.00
             Balance: $0.00 Cleared: $0.00 Reconciled: $0.00
    
    Account 6f39f557: <Closing> Comm<USD> Type<Equity>
    n Split 13916652: 09/05/20 Amt<$307.00> $307.00
             Balance: $307.00 Cleared: $0.00 Reconciled: $0.00
    
    Account fa6507e1: <Closing:GBP> Comm<GBP> Type<Equity>
    n Split 34ce3c03: 09/05/20 Amt<-£1,293.00> -£1,293.00
             Balance: -£1,293.00 Cleared: £0.00 Reconciled: £0.00
    
    (gnc:dump-all-transactions)
    
      Trans cfbbc2a4: 12/07/19 Curr GBP  Desc<Customer-GBP>
    n Split d12f74b2: 12/07/19 Acc<AR-GBP> Amt<£120.00> £120.00 Desc<Customer-GBP> Memo<due 91+>
    n Split 3880e99c: 12/07/19 Acc<Standard Sales> Amt<-£20.00> -£20.00 Desc<Customer-GBP> Memo<due 91+>
    n Split 6bd9c7e4: 12/07/19 Acc<Income-GBP> Amt<-£100.00> -£100.00 Desc<Customer-GBP> Memo<due 91+>
    
      Trans 60344bab: 09/10/19 Curr GBP  Desc<Customer-GBP>
    n Split aaca8ee0: 09/10/19 Acc<AR-GBP> Amt<£225.00> £225.00 Desc<Customer-GBP> Memo<due 2-3 months ago>
    n Split ee49bde8: 09/10/19 Acc<Standard Sales> Amt<-£20.00> -£20.00 Desc<Customer-GBP> Memo<due 2-3 months ago>
    n Split e989e863: 09/10/19 Acc<Reduced Sales> Amt<-£5.00> -£5.00 Desc<Customer-GBP> Memo<due 2-3 months ago>
    n Split 91d6cadd: 09/10/19 Acc<Income-GBP> Amt<-£200.00> -£200.00 Desc<Customer-GBP> Memo<due 2-3 months ago



Summary of changes:
 gnucash/report/report-utilities.scm                | 74 +++++++++++++++-------
 .../report/reports/standard/new-owner-report.scm   | 36 ++++++++---
 2 files changed, 78 insertions(+), 32 deletions(-)



More information about the gnucash-patches mailing list