[kmymoney4] [Bug 385857] Wrong Currency conversion rate in Reports

Ralf Habacker bugzilla_noreply at kde.org
Mon Oct 23 08:29:56 UTC 2017


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

--- Comment #13 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to NSLW from comment #12)
> (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 
This has been reported in bug 385900 - git master show different but also wrong
values
>and maybe backport if not.
not sure yet if this is possible - I guess this depends on how much the branch
is diverged in that area. I tried backporting already with online price update
which was not possible because the newly introduced regex classes are not
available for qt4. :-(

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


More information about the KMyMoney-devel mailing list