From a9a60c18310ba8c4273b50ee587df4a47640d869 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Mon, 4 May 2020 23:32:10 +0800 Subject: [PATCH] [Account.cpp] more xaccAccountTypeGetFundamental types --- libgnucash/engine/Account.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libgnucash/engine/Account.cpp b/libgnucash/engine/Account.cpp index 33dd04a5e5..a6ede7ac54 100644 --- a/libgnucash/engine/Account.cpp +++ b/libgnucash/engine/Account.cpp @@ -4398,6 +4398,9 @@ xaccAccountTypeGetFundamental (GNCAccountType t) { case ACCT_TYPE_BANK: case ACCT_TYPE_STOCK: + case ACCT_TYPE_MONEYMRKT: + case ACCT_TYPE_CHECKING: + case ACCT_TYPE_SAVINGS: case ACCT_TYPE_MUTUAL: case ACCT_TYPE_CURRENCY: case ACCT_TYPE_CASH: @@ -4407,6 +4410,7 @@ xaccAccountTypeGetFundamental (GNCAccountType t) case ACCT_TYPE_CREDIT: case ACCT_TYPE_LIABILITY: case ACCT_TYPE_PAYABLE: + case ACCT_TYPE_CREDITLINE: return ACCT_TYPE_LIABILITY; case ACCT_TYPE_INCOME: return ACCT_TYPE_INCOME;