[kmymoney4] [Bug 385857] Wrong Currency conversion rate in Reports
NSLW
bugzilla_noreply at kde.org
Sat Oct 21 12:24:11 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=385857
NSLW <lukasz.wojnilowicz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lukasz.wojnilowicz at gmail.co
| |m
--- Comment #12 from NSLW <lukasz.wojnilowicz at gmail.com> ---
(In reply to Ralf Habacker from comment #11)
> The root cause for this bug is that in PivotTable::init() the cell values
> are collected in the accounts currency first. Then the sum is converted to
> the file currency using the date from the report cell, which may not be the
> same date as the transaction date the single values are coming from.
>
> To have a correct sum each value from a transaction need to be converted to
> the base currency before adding to the report cell and not to convert the
> sum.
I'm not following this bug very dilligently, but before modifying 4.8.1 version
code paths in PivotTable::init() and then applying it on 5.0 branch, see if
code paths in 5.0 (there were some noticeable changes there) show the same
error and maybe backport if not.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list