gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Mon Nov 16 12:28:37 EST 2020
Updated via https://github.com/Gnucash/gnucash/commit/5de4fe5d (commit)
via https://github.com/Gnucash/gnucash/commit/63580d91 (commit)
via https://github.com/Gnucash/gnucash/commit/2bdc7dd1 (commit)
via https://github.com/Gnucash/gnucash/commit/a2aca9da (commit)
via https://github.com/Gnucash/gnucash/commit/f8dcd230 (commit)
via https://github.com/Gnucash/gnucash/commit/573f7aaa (commit)
via https://github.com/Gnucash/gnucash/commit/1cce12f8 (commit)
from https://github.com/Gnucash/gnucash/commit/fdbbc130 (commit)
commit 5de4fe5dff5e10e15cf3e8d7e67f31f39e5f7be1
Merge: fdbbc1305 63580d91b
Author: John Ralls <jralls at ceridwen.us>
Date: Mon Nov 16 09:27:29 2020 -0800
Merge Ralf Habacker's add-opening-balance-accounts into maint.
commit 63580d91ba0ef6de49c9c4f3a07771329e6ffdf7
Author: Ralf Habacker <ralf.habacker at freenet.de>
Date: Wed Oct 28 07:14:10 2020 +0100
Add feature GNC_FEATURE_EQUITY_TYPE_OPENING_BALANCE
When the above function is activated, the slot 'equity type' is used and
set in relation to opening balances and the checkbox for marking the
opening balance in the accounts dialog can be changed.
commit 2bdc7dd1c9bbad343f16d4045a738a7ba27286a7
Author: Ralf Habacker <ralf.habacker at freenet.de>
Date: Fri Oct 23 16:53:41 2020 +0200
Update opening balance account on adding, editing and deleting accounts
commit a2aca9da66e9c5eeb38484629907f4bb8df2af1b
Author: Ralf Habacker <ralf.habacker at freenet.de>
Date: Fri Oct 23 14:30:42 2020 +0200
Do not create additional opening balance account on creating new gnucash file
Without this patch an additional opening balance account is created by the
assistant-hierarchy.
commit f8dcd2302366a3d0032038b81f5fb5252fd09f87
Author: Ralf Habacker <ralf.habacker at freenet.de>
Date: Sat Sep 19 10:53:08 2020 +0200
Add support for the opening balance accounts flag
Up to now, opening balance accounts have been identified by means of
fixed names and their translations, which in some cases is not
appropriate.
With this commit, therefore, opening balance accounts can now be
identified by a special slot, which should solve the above problem.
in gnc_find_or_create_equity_account(), when querying the
EQUITY_OPENING_BALANCE type, the system now first searches for an
account with an existing 'equity-type' slot having the value
'opening-balance' and returns it as an opening balance account if
one exists. If no corresponding account is found, the search is
continued as before. An account found in the process is automatically
given the status of an opening balance account (it is given an
'equity-type' slot with value 'opening-balance') to simplify the
future search.
The opening balance status of an account is visualized in the account
settings dialog with a check box. If a Gnucash file does not yet contain
an opening balance account, one can be selected in the account settings
dialog.
https://bugs.gnucash.org/show_bug.cgi?id=797836
commit 573f7aaa0b427fda4a1874b5c35b95e4ad48b816
Author: Ralf Habacker <ralf.habacker at freenet.de>
Date: Tue Sep 15 03:11:22 2020 +0200
Add slot "equity-type" with value "opening-balance" to account templates
The slots are added by running `util/add-opening-balances` on the
gnucash sources.
commit 1cce12f8beb3983e4fc61c7a7d382cdd0cfbd4fd
Author: Ralf Habacker <ralf.habacker at freenet.de>
Date: Mon Jul 6 20:03:41 2020 +0200
Add script to add slots with key 'equity-type' and value 'opening-balance' to detected opening balance accounts
Summary of changes:
data/accounts/C/acctchrt_business.gnucash-xea | 6 ++
data/accounts/C/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/C/acctchrt_common.gnucash-xea | 6 ++
data/accounts/C/acctchrt_full.gnucash-xea | 6 ++
data/accounts/da/acctchrt_common.gnucash-xea | 6 ++
data/accounts/de_AT/acctchrt_business.gnucash-xea | 6 ++
data/accounts/de_AT/acctchrt_common.gnucash-xea | 6 ++
data/accounts/de_CH/acctchrt_common.gnucash-xea | 6 ++
data/accounts/de_DE/acctchrt_common.gnucash-xea | 6 ++
data/accounts/de_DE/acctchrt_full.gnucash-xea | 6 ++
data/accounts/de_DE/acctchrt_skr03.gnucash-xea | 6 ++
data/accounts/de_DE/acctchrt_skr04.gnucash-xea | 6 ++
data/accounts/de_DE/acctchrt_skr49.gnucash-xea | 6 ++
data/accounts/el_GR/acctchrt_common.gnucash-xea | 6 ++
data/accounts/en_GB/acctchrt_business.gnucash-xea | 6 ++
data/accounts/en_GB/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/en_GB/acctchrt_common.gnucash-xea | 6 ++
data/accounts/en_GB/acctchrt_full.gnucash-xea | 6 ++
data/accounts/en_GB/uk-vat.gnucash-xea | 6 ++
data/accounts/en_IN/acctchrt_gstindia.gnucash-xea | 6 ++
data/accounts/es_ES/acctchrt_common.gnucash-xea | 6 ++
data/accounts/es_MX/acctchrt_common.gnucash-xea | 6 ++
data/accounts/fi_FI/acctchrt_ry.gnucash-xea | 6 ++
data/accounts/fr_BE/acctchrt_business.gnucash-xea | 6 ++
data/accounts/fr_BE/acctchrt_common.gnucash-xea | 6 ++
data/accounts/fr_CH/acctchrt_business.gnucash-xea | 6 ++
data/accounts/fr_CH/acctchrt_common.gnucash-xea | 6 ++
data/accounts/fr_FR/acctchrt_business.gnucash-xea | 6 ++
data/accounts/fr_FR/acctchrt_common.gnucash-xea | 6 ++
data/accounts/he/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/hr/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/hr/acctchrt_common.gnucash-xea | 6 ++
data/accounts/hu/acctchrt_business.gnucash-xea | 6 ++
data/accounts/hu/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/hu/acctchrt_common.gnucash-xea | 6 ++
data/accounts/it/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/it/acctchrt_common.gnucash-xea | 6 ++
data/accounts/ja/acctchrt_business.gnucash-xea | 6 ++
data/accounts/ja/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/ja/acctchrt_common.gnucash-xea | 6 ++
data/accounts/ja/acctchrt_full.gnucash-xea | 6 ++
data/accounts/lv/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/lv/acctchrt_common.gnucash-xea | 6 ++
data/accounts/lv/acctchrt_full.gnucash-xea | 6 ++
data/accounts/nb/acctchrt_common.gnucash-xea | 6 ++
data/accounts/nb/acctchrt_full.gnucash-xea | 6 ++
data/accounts/nl/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/nl/acctchrt_full.gnucash-xea | 6 ++
data/accounts/pl/acctchrt_business.gnucash-xea | 6 ++
data/accounts/pl/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/pl/acctchrt_common.gnucash-xea | 6 ++
data/accounts/pl/acctchrt_full.gnucash-xea | 6 ++
data/accounts/pt_BR/acctchrt_common.gnucash-xea | 6 ++
data/accounts/pt_PT/acctchrt_common.gnucash-xea | 6 ++
data/accounts/ru/acctchrt_common.gnucash-xea | 6 ++
data/accounts/tr_TR/acctchrt_TEKDUZ.gnucash-xea | 12 +++
data/accounts/zh_CN/acctchrt_business.gnucash-xea | 6 ++
data/accounts/zh_CN/acctchrt_checkbook.gnucash-xea | 6 ++
data/accounts/zh_CN/acctchrt_common.gnucash-xea | 6 ++
data/accounts/zh_CN/acctchrt_full.gnucash-xea | 6 ++
gnucash/gnome-utils/dialog-account.c | 70 ++++++++++++
gnucash/gnome-utils/gnc-tree-model-account.c | 6 ++
gnucash/gnome-utils/gnc-tree-model-account.h | 3 +-
gnucash/gnome-utils/gnc-tree-view-account.c | 31 ++++++
gnucash/gnome/assistant-hierarchy.c | 14 +--
gnucash/gnome/gnc-plugin-page-account-tree.c | 12 +++
gnucash/gtkbuilder/dialog-account.glade | 17 +++
libgnucash/app-utils/gnc-ui-util.c | 32 +++++-
libgnucash/app-utils/gnc-ui-util.h | 5 +
libgnucash/engine/Account.cpp | 52 +++++++++
libgnucash/engine/Account.h | 25 +++++
libgnucash/engine/gnc-features.c | 1 +
libgnucash/engine/gnc-features.h | 1 +
libgnucash/engine/test/utest-Account.cpp | 4 +-
util/add-opening-balances | 118 +++++++++++++++++++++
75 files changed, 747 insertions(+), 10 deletions(-)
create mode 100755 util/add-opening-balances
More information about the gnucash-patches
mailing list