Bug 386285 - The minimum/maximum limit in account definition is interpreted as Primary Currency
Summary: The minimum/maximum limit in account definition is interpreted as Primary Cur...
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: Trunk from git
Platform: Other Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Guillaume DE BURE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-28 15:34 UTC by dterrahe
Modified: 2017-10-28 17:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dterrahe 2017-10-28 15:34:16 UTC
In the account Edit screen, the minimum limit and maximum limit value fields have the account currency behind them, which makes sense. However Advices are generated in the Dashboard screen if the Amount, rather than Amount Entered total crosses the specified limits.

Reproduce:
Create account with USD currency. Set minimum limit to 500 and maximum limit to 600. Enter a unit value for USD of 2. Create an operation of USD 400. The Dashboard does not show "not enough money in your account", although it should, but it will show "exceeds the maximum limit", although it shouldn't.
Comment 1 Stephane MANKOWSKI 2017-10-28 17:20:20 UTC
Git commit d3239081b864a182b4497d92b376cf812248f91a by Stephane Mankowski.
Committed on 28/10/2017 at 17:19.
Pushed by smankowski into branch 'master'.

The minimum/maximum limit in account definition is interpreted as Primary Currency

M  +1    -0    CHANGELOG
M  +7    -7    plugins/skrooge/skrooge_operation/skgoperationplugin.cpp
M  +7    -6    skgbankmodeler/skgdocumentbank.cpp

https://commits.kde.org/skrooge/d3239081b864a182b4497d92b376cf812248f91a