[kmymoney] [Bug 452863] New file setup wizard: UK VAT Accounts produces "invalid top-level account type" error

Thomas Baumgart bugzilla_noreply at kde.org
Sat Apr 23 17:59:07 BST 2022


https://bugs.kde.org/show_bug.cgi?id=452863

--- Comment #3 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit a85761da6a7101d4b242cd6f89f95b6308ee3211 by Thomas Baumgart.
Committed on 23/04/2022 at 16:53.
Pushed by tbaumgart into branch '5.1'.

Convert GnuCash account type to valid top-level account type

The GnuCash template may use any account type for top-level account
groups. KMyMoney only supports certain types. The current conversion did
not take that into account and some templates failed during loading into
KMyMoney.

This change adjusts the account type of the top-level accounts to those
supported by KMyMoney and makes the templates loadable.
(cherry picked from commit 182c22674187a5e73b2842fcdb4cf8f5d58a1ae7)

M  +9    -4    kmymoney/mymoney/mymoneyaccount.cpp
M  +5    -0    kmymoney/mymoney/mymoneyaccount.h
M  +20   -8    tools/xea2kmt.cpp

https://invent.kde.org/office/kmymoney/commit/a85761da6a7101d4b242cd6f89f95b6308ee3211

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list