[kmymoney] [Bug 458447] Security account created on OFX import has 1/100 fraction, which gives wrong values if it really should be smaller

Thomas Baumgart bugzilla_noreply at kde.org
Sat Sep 10 18:11:00 BST 2022


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

Thomas Baumgart <thb at net-bembel.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/offi
                   |                            |ce/kmymoney/commit/d65cb8a4
                   |                            |32ce107fa69be617aa815f6a101
                   |                            |73f7b
         Resolution|---                         |FIXED

--- Comment #7 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit d65cb8a432ce107fa69be617aa815f6a10173f7b by Thomas Baumgart.
Committed on 10/09/2022 at 17:10.
Pushed by tbaumgart into branch 'master'.

Improve OFX importer

Allow fractions of security smaller than 1/100. A new security is
created with a default fraction of 1/100. In case the import contains a
transaction with more fractional digits, the fraction of the security is
automatically adjusted so that no information is lost.

Securities are also detected by their unique id not only by their name.
This allows to change the name after the import without re-creating the
security during the next import.

Security accounts are using the oldest postdate found in the OFX import
file as their opening date and not the current date. This prevents the
consistency check to report and fix the opening date later on.

M  +19   -4    kmymoney/converter/mymoneystatementreader.cpp
M  +9    -1    kmymoney/mymoney/mymoneystatement.cpp
M  +3    -0    kmymoney/mymoney/mymoneystatement.h
M  +22   -2    kmymoney/plugins/ofx/import/ofximporter.cpp

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

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


More information about the KMyMoney-devel mailing list