gnucash master: Book-Currency Feature step 1

J. Alex Aycinena alex.aycinena at code.gnucash.org
Mon Feb 9 16:18:57 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/b22c6b6e (commit)
	from  https://github.com/Gnucash/gnucash/commit/9c8405da (commit)



commit b22c6b6eb9ab86273bfc7225cc50504f28158bc8
Author: Alex Aycinena <alex.aycinena at gmail.com>
Date:   Mon Feb 9 12:52:29 2015 -0800

    Book-Currency Feature step 1
    
    The changes made are:
    
         libqof/qof/qofbookslots.h - define Currency Accounting Method option; keep
             the current Trading Accounts option (in order to read prior files)
         libqof/qof/qofbook.cpp & .h - define function to determine if book uses
             book-currency, modify function to determine if book uses trading
             accounts and add gobject properties accordingly
         libqof/qof/test/test-qofbook.c - define test function to determine if book
             uses book-currency and modify test function for trading accounts
         engine/test/utest-Split.cpp - modify test function for trading accounts
             to use new "currency-accounting" and "trading" book properties
         engine/test/utest-Transaction.c - modify test function for trading accounts
             to use new "currency-accounting" and "trading" book properties



Summary of changes:
 src/engine/test/utest-Split.cpp     |  2 +-
 src/engine/test/utest-Transaction.c |  4 +-
 src/libqof/qof/qofbook.cpp          | 95 +++++++++++++++++++++++++++++++++++++
 src/libqof/qof/qofbook.h            |  3 ++
 src/libqof/qof/qofbookslots.h       |  2 +
 src/libqof/qof/test/test-qofbook.c  | 47 ++++++++++++++++++
 6 files changed, 150 insertions(+), 3 deletions(-)



More information about the gnucash-patches mailing list