[kmymoney] [Bug 380286] Exported account templates only includes incomplete tax information

Ralf Habacker bugzilla_noreply at kde.org
Tue Nov 6 18:07:26 GMT 2018


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

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/kmy |https://commits.kde.org/kmy
                   |money/5f15218ca8f47d280a3c3 |money/df1571dd951edc2914ae8
                   |18011e369a53c6d38fd         |e76cb6b1a2ef26042f7

--- Comment #8 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit e54a2c6a54337f1c92df5c6d1dd37750d4de88a5 by Ralf Habacker.
Committed on 06/11/2018 at 17:02.
Pushed by habacker into branch 'work/380286-tax-related'.

Export account attribute 'VatRate' into a template file and read out again when
importing

M  +8    -0    kmymoney/converter/mymoneytemplate.cpp

https://commits.kde.org/kmymoney/e54a2c6a54337f1c92df5c6d1dd37750d4de88a5

--- Comment #7 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 721572fb611d6c658e829c265ef36cbab7556c7b by Ralf Habacker.
Committed on 06/11/2018 at 17:02.
Pushed by habacker into branch 'work/380286-tax-related'.

Save account attribute 'Include in tax report' when exporting account structure
to KMymoney template file

M  +6    -1    kmymoney/converter/mymoneytemplate.cpp

https://commits.kde.org/kmymoney/721572fb611d6c658e829c265ef36cbab7556c7b

--- Comment #6 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit b4a84e49eb97b5a62d4e1d51611355a2c7407405 by Ralf Habacker.
Committed on 06/11/2018 at 17:02.
Pushed by habacker into branch 'work/380286-tax-related'.

Add support for saving and loading tax account mappings to and from a template
file

A tax account mapping is stored in an xml tag of type 'flag' with the attribute
name='VatAccount'. The attribute 'value' contains a reference to the
corresponding
tax account, which contains the reference in the attribute 'id'.

When importing a template file with a tax account assignment, the reference is
first stored in a temporary key/value pair with the name 'UnresolvedVatAccount'
of the account concerned and after completion of the load is stored in the
key/value pair 'VatAccount' based on the ID of the tax account now available.

M  +47   -0    kmymoney/converter/mymoneytemplate.cpp
M  +1    -0    kmymoney/converter/mymoneytemplate.h

https://commits.kde.org/kmymoney/b4a84e49eb97b5a62d4e1d51611355a2c7407405

--- Comment #5 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit df1571dd951edc2914ae8e76cb6b1a2ef26042f7 by Ralf Habacker.
Committed on 06/11/2018 at 17:02.
Pushed by habacker into branch 'work/380286-tax-related'.

Correction of setting up import of tax attributes from gnucash xea file

KMyMoney expects the flag "Tax" to have an attribute value="Yes".
FIXED-IN:4.8.3, 5.0.3

M  +1    -1    tools/xea2kmt.cpp

https://commits.kde.org/kmymoney/df1571dd951edc2914ae8e76cb6b1a2ef26042f7

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


More information about the KMyMoney-devel mailing list