gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Fri Apr 30 07:31:45 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/254ccaca (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3168347a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/14c523e4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c38740fc (commit)
	from  https://github.com/Gnucash/gnucash/commit/e3d4bd2e (commit)



commit 254ccacafaa49dac8e848d509708f787aa3d034a
Merge: e3d4bd2e2 3168347ab
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Apr 30 19:31:13 2021 +0800

    Merge branch 'maint-ACB-report' into maint #978

commit 3168347ab7209ce8e85c52ae6a7991a4a1196131
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jul 8 22:42:57 2020 +0800

    [ifrs-cost-basis] initial commit
    
    Candidate Report https://bugs.gnucash.org/show_bug.cgi?id=797796#c153

commit 14c523e4f158f677f9ea2211c77eca65f3634104
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Aug 22 00:10:56 2020 +0800

    [test-engine-extras] augment book data generators
    
    * txn-currency can be specified explicitly instead of currency of
    first split
    * split memos can be specified
    
    Note test-register.scm gets some changes because the Trans Num field
    was erroneously saved into Split Action fields. Now the num field is
    only copied into the TransNum field.

commit c38740fcd942a655ef30002bc46609c3d95294cf
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:
 bindings/guile/test/test-engine-extras.scm         |  20 +-
 gnucash/report/report-utilities.scm                |   5 +-
 gnucash/report/reports/CMakeLists.txt              |   1 +
 .../report/reports/standard/ifrs-cost-basis.scm    | 436 +++++++++++++++++++++
 .../report/reports/standard/test/CMakeLists.txt    |   1 +
 .../reports/standard/test/test-ifrs-cost-basis.scm | 357 +++++++++++++++++
 .../report/reports/standard/test/test-register.scm |  20 +-
 7 files changed, 826 insertions(+), 14 deletions(-)
 create mode 100644 gnucash/report/reports/standard/ifrs-cost-basis.scm
 create mode 100644 gnucash/report/reports/standard/test/test-ifrs-cost-basis.scm



More information about the gnucash-patches mailing list