[kmymoney] [Bug 380286] Exported account templates only includes incomplete tax information
Ralf Habacker
bugzilla_noreply at kde.org
Mon Nov 26 08:59:03 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=380286
--- Comment #17 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit a7683b5440c7956084e96e62ae4e07bf5dfc3296 by Ralf Habacker.
Committed on 26/11/2018 at 08:56.
Pushed by habacker into branch '5.0'.
Save account attribute 'Include in tax report' when exporting account structure
to KMymoney template file
Reviewed By: tbaumgart
Differential Revision: https://phabricator.kde.org/D16727
M +6 -1 kmymoney/converter/mymoneytemplate.cpp
https://commits.kde.org/kmymoney/a7683b5440c7956084e96e62ae4e07bf5dfc3296
--- Comment #16 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 757f42ff80a787550392192226287ec79c515459 by Ralf Habacker.
Committed on 26/11/2018 at 08:47.
Pushed by habacker into branch '5.0'.
Export account attribute 'VatRate' into a template file and read out again when
importing
Reviewed By: tbaumgart
Differential Revision: https://phabricator.kde.org/D16725
M +9 -1 kmymoney/converter/mymoneytemplate.cpp
https://commits.kde.org/kmymoney/757f42ff80a787550392192226287ec79c515459
--- Comment #15 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 4735e228ae9ac31fc51d353007aad65d2c6e4e38 by Ralf Habacker.
Committed on 26/11/2018 at 08:55.
Pushed by habacker into branch '5.0'.
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.
Reviewed By: tbaumgart
Differential Revision: https://phabricator.kde.org/D16726
M +49 -1 kmymoney/converter/mymoneytemplate.cpp
M +1 -0 kmymoney/converter/mymoneytemplate.h
https://commits.kde.org/kmymoney/4735e228ae9ac31fc51d353007aad65d2c6e4e38
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list