xea2kmt is a command line tool located in the kmymoney sources to convert gnucash account template files to kmymoney template files. With the version from the 5.1 branch large parts of the template files cannot be converted. STEPS TO REPRODUCE 1. checkout gnucash sources from git@github.com:Gnucash/gnucash.git 1. checkout kmymoney source from git@invent.kde.org:office/kmymoney.git 2. build kmymoney 3. from build dir run bin/xea2kmt --with-tax-related --no-level1-names --in-dir <gnucash-source-dir>/data/accounts --out-dir <kmymoney-source-dir>/kmymoney/templates 4. inspect the generated template files OBSERVED RESULT The generated files only include very few accounts EXPECTED RESULT The generated files should only show very few changes as shown at https://invent.kde.org/office/kmymoney/-/commit/48b9f54d104a5c65a59b28fc4a3a4ec21c051eda SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Leap_15.1 KDE Frameworks Version: 5.55 Qt Version: 5.9.7
A possibly relevant merge request was started @ https://invent.kde.org/office/kmymoney/-/merge_requests/38
Would it maybe be worth adding these instructions to invent wiki?
(In reply to Dawid Wróbel from comment #2) > Would it maybe be worth adding these instructions to invent wiki? You are refering to something like "3rdparty data import" ?
I am thinking rather about some sort of release preparation steps, which this could be one of them, since I think it would be worth doing this regularly.
Git commit eb3998b3f0be79cab6811112d20b95cf75a33eed by Ralf Habacker. Committed on 18/11/2020 at 08:48. Pushed by habacker into branch '5.1'. tools/xea2kmt: Fix parsing gnucash account templates FIXED-IN:5.1.1 M +1 -0 tools/xea2kmt.cpp https://invent.kde.org/office/kmymoney/commit/eb3998b3f0be79cab6811112d20b95cf75a33eed
Git commit e17efc7c254ecfa5185b017fb3122459cc3a788c by Ralf Habacker. Committed on 18/11/2020 at 09:25. Pushed by habacker into branch 'master'. tools/xea2kmt: Fix parsing gnucash account templates (cherry picked from commit eb3998b3f0be79cab6811112d20b95cf75a33eed) M +1 -0 tools/xea2kmt.cpp https://invent.kde.org/office/kmymoney/commit/e17efc7c254ecfa5185b017fb3122459cc3a788c