Use security instead of account in KForecastView
ClosedPublic

Authored by wojnilowicz on Apr 16 2017, 1:15 PM.

Details

Summary

Amount is monetary and account's fraction could be quantitative, so
amount could be displayed wrong, if the fractions aren't equal.

Diff Detail

Repository
R261 KMyMoney
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wojnilowicz created this revision.Apr 16 2017, 1:15 PM
tbaumgart accepted this revision as: tbaumgart.Apr 17 2017, 9:59 AM
tbaumgart added a subscriber: tbaumgart.

Never stumbled across that one, but on the other hand I don't use the forecast with investments not at all. Code wise it looks logical to me.

This revision is now accepted and ready to land.Apr 17 2017, 9:59 AM
This revision was automatically updated to reflect the committed changes.